mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Fix indentation in __post_init__
documentation. (gh-114666)
This commit is contained in:
parent
5ecfd750b4
commit
d00fbed68f
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue