Skip to content

Commit 3aaca4e

Browse files
authored
fix typo in example
added missing self argument to the __init__ def
1 parent 3816534 commit 3aaca4e

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)