Skip to content

Commit 238ed20

Browse files
committed
✏️ Remove unused defaults
1 parent ccc451c commit 238ed20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/oop/inheritance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Python, this technique looks like this:
4040
:linenos:
4141
4242
>>> class Form:
43-
... def __init__(self, x=0, y=0):
43+
... def __init__(self, x, y):
4444
... self.x = x
4545
... self.y = y
4646
...

0 commit comments

Comments
 (0)