Skip to content

Commit 38d138b

Browse files
committed
✏️ Remove unused defaults
1 parent 7192fc1 commit 38d138b

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)