Skip to content

Commit e5f6b7a

Browse files
Add 'self' to '__init__' method (#895)
Fix a typo
1 parent e5fcf62 commit e5f6b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ constructor with those ``**kwargs`` to preserve this behavior::
7373

7474
class Foo(db.Model):
7575
# ...
76-
def __init__(**kwargs):
76+
def __init__(self, **kwargs):
7777
super(Foo, self).__init__(**kwargs)
7878
# do custom stuff
7979

0 commit comments

Comments
 (0)