]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] dataclasses.rst: Prevent horizontal scrolling (gh-100025). (gh-100029)
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Mon, 5 Dec 2022 19:19:09 +0000 (14:19 -0500)
committerGitHub <noreply@github.com>
Mon, 5 Dec 2022 19:19:09 +0000 (14:19 -0500)
(cherry picked from commit 51ee0a29e9b20c3e4a94a675e73a894ee2fe447b)

Co-authored-by: Ram Rachum <ram@rachum.com>
Co-authored-by: Ram Rachum <ram@rachum.com>
Doc/library/dataclasses.rst

index f66010082ad1bbc2d43c3fb3202f25488f6f1e64..add6043b6066633bf7e4fe3b065342a710c6807f 100644 (file)
@@ -79,7 +79,8 @@ Module contents
      class C:
          ...
 
-     @dataclass(init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False, match_args=True, kw_only=False, slots=False)
+     @dataclass(init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False,
+                match_args=True, kw_only=False, slots=False)
      class C:
         ...