summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/dataclasses.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 88f2e02..4ada69d 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -538,8 +538,8 @@ that has to be called, it is common to call this method in a
class Rectangle:
def __init__(self, height, width):
- self.height = height
- self.width = width
+ self.height = height
+ self.width = width
@dataclass
class Square(Rectangle):