Skip to content

Commit

Permalink
✏️ Remove unused defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
veit committed Nov 27, 2024
1 parent 7192fc1 commit 38d138b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/oop/inheritance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Python, this technique looks like this:
:linenos:
>>> class Form:
... def __init__(self, x=0, y=0):
... def __init__(self, x, y):
... self.x = x
... self.y = y
...
Expand Down

0 comments on commit 38d138b

Please sign in to comment.