Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/library/dataclasses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down