Skip to content

Commit 6601962

Browse files
miss-islingtonKrySeytEclips4
authored
[3.12] [pprint]: Add docstring about PrettyPrinter.underscore_numbers parameter (pythonGH-112963) (python#113053)
[pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (pythonGH-112963) (cherry picked from commit 2a3c37c) Co-authored-by: Sequew <88668176+KrySeyt@users.noreply.github.com> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
1 parent 3bf2a4a commit 6601962

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Lib/pprint.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ def __init__(self, indent=1, width=80, depth=None, stream=None, *,
128128
sort_dicts
129129
If true, dict keys are sorted.
130130
131+
underscore_numbers
132+
If true, digit groups are separated with underscores.
133+
131134
"""
132135
indent = int(indent)
133136
width = int(width)

0 commit comments

Comments
 (0)