[Python-checkins] [3.10] dataclasses.rst: Prevent horizontal scrolling (gh-100025). (gh-100029)

ericvsmith webhook-mailer at python.org
Mon Dec 5 14:19:14 EST 2022


https://github.com/python/cpython/commit/e5075986a7bbc4b1f6b1b3fc85f18501d3b48ec4
commit: e5075986a7bbc4b1f6b1b3fc85f18501d3b48ec4
branch: 3.10
author: Eric V. Smith <ericvsmith at users.noreply.github.com>
committer: ericvsmith <ericvsmith at users.noreply.github.com>
date: 2022-12-05T14:19:09-05:00
summary:

[3.10] dataclasses.rst: Prevent horizontal scrolling (gh-100025). (gh-100029)

(cherry picked from commit 51ee0a29e9b20c3e4a94a675e73a894ee2fe447b)

Co-authored-by: Ram Rachum <ram at rachum.com>

Co-authored-by: Ram Rachum <ram at rachum.com>

files:
M Doc/library/dataclasses.rst

diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index f66010082ad1..add6043b6066 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -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:
         ...
 



More information about the Python-checkins mailing list