From 38d138bfc01f7c313ee1f18abf396a8996913577 Mon Sep 17 00:00:00 2001 From: Veit Schiele Date: Wed, 27 Nov 2024 21:22:28 +0100 Subject: [PATCH] :pencil2: Remove unused defaults --- docs/oop/inheritance.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/oop/inheritance.rst b/docs/oop/inheritance.rst index bb51e3c..bb7776c 100644 --- a/docs/oop/inheritance.rst +++ b/docs/oop/inheritance.rst @@ -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 ...