]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] dataclasses.rst: Prevent horizontal scrolling (gh-100025) (gh-100028)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 5 Dec 2022 18:59:34 +0000 (10:59 -0800)
committerGitHub <noreply@github.com>
Mon, 5 Dec 2022 18:59:34 +0000 (13:59 -0500)
dataclasses.rst: Prevent horizontal scrolling (gh-100025)
(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 847299649d1efd164af83be496a1870cbcd4d4cd..32c524a734871940fa9dc01709972dcb22631005 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, weakref_slot=False)
+     @dataclass(init=True, repr=True, eq=True, order=False, unsafe_hash=False, frozen=False,
+                match_args=True, kw_only=False, slots=False, weakref_slot=False)
      class C:
          ...