From: Bhushan Mohanraj <50306448+bhushan-mohanraj@users.noreply.github.com> Date: Sun, 28 Jan 2024 20:10:32 +0000 (-0500) Subject: Fix indentation in `__post_init__` documentation. (gh-114666) X-Git-Tag: v3.13.0a4~288 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d00fbed68ffcd5823acbb32a0e47e2e5f9732ff7;p=thirdparty%2FPython%2Fcpython.git Fix indentation in `__post_init__` documentation. (gh-114666) --- diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index 88f2e0251b1e..4ada69d63aba 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):