mirror of
https://github.com/python/cpython.git
synced 2025-09-09 18:32:22 +00:00
[3.11] [pprint]: Add docstring about PrettyPrinter.underscore_numbers
parameter (GH-112963) (#113052)
[pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (GH-112963)
(cherry picked from commit 2a3c37c273
)
Co-authored-by: Sequew <88668176+KrySeyt@users.noreply.github.com>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
parent
51858aa606
commit
5fd915df6e
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@ class PrettyPrinter:
|
|||
sort_dicts
|
||||
If true, dict keys are sorted.
|
||||
|
||||
underscore_numbers
|
||||
If true, digit groups are separated with underscores.
|
||||
|
||||
"""
|
||||
indent = int(indent)
|
||||
width = int(width)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue