mirror of https://github.com/python/cpython
Fix indentation in `__post_init__` documentation. (gh-114666)
This commit is contained in:
parent
5ecfd750b4
commit
d00fbed68f
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue