https://github.com/python/cpython/commit/d00fbed68ffcd5823acbb32a0e47e2e5f9732ff7 commit: d00fbed68ffcd5823acbb32a0e47e2e5f9732ff7 branch: main author: Bhushan Mohanraj <50306448+bhushan-mohan...@users.noreply.github.com> committer: ericvsmith <ericvsm...@users.noreply.github.com> date: 2024-01-28T15:10:32-05:00 summary:
Fix indentation in `__post_init__` documentation. (gh-114666) files: M Doc/library/dataclasses.rst diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index 88f2e0251b1e51..4ada69d63abada 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): _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com