Skip to content

Commit d00fbed

Browse files
Fix indentation in __post_init__ documentation. (gh-114666)
1 parent 5ecfd75 commit d00fbed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/dataclasses.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,8 +538,8 @@ that has to be called, it is common to call this method in a
538538

539539
class Rectangle:
540540
def __init__(self, height, width):
541-
self.height = height
542-
self.width = width
541+
self.height = height
542+
self.width = width
543543

544544
@dataclass
545545
class Square(Rectangle):

0 commit comments

Comments
 (0)