diff options
author | Bhushan Mohanraj <50306448+bhushan-mohanraj@users.noreply.github.com> | 2024-01-28 20:10:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-28 20:10:32 (GMT) |
commit | d00fbed68ffcd5823acbb32a0e47e2e5f9732ff7 (patch) | |
tree | 0b858dce46e823626f0899013a66b4c8274a00d7 | |
parent | 5ecfd750b4f511f270c38f0d748da9cffa279295 (diff) | |
download | cpython-d00fbed68ffcd5823acbb32a0e47e2e5f9732ff7.zip cpython-d00fbed68ffcd5823acbb32a0e47e2e5f9732ff7.tar.gz cpython-d00fbed68ffcd5823acbb32a0e47e2e5f9732ff7.tar.bz2 |
Fix indentation in `__post_init__` documentation. (gh-114666)
-rw-r--r-- | Doc/library/dataclasses.rst | 4 |
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): |