mirror of
https://github.com/python/cpython.git
synced 2025-12-18 23:02:07 +00:00
[pprint]: Add docstring about PrettyPrinter.underscore_numbers parameter (#112963)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
parent
428c9812cb
commit
2a3c37c273
1 changed files with 3 additions and 0 deletions
|
|
@ -128,6 +128,9 @@ class PrettyPrinter:
|
||||||
sort_dicts
|
sort_dicts
|
||||||
If true, dict keys are sorted.
|
If true, dict keys are sorted.
|
||||||
|
|
||||||
|
underscore_numbers
|
||||||
|
If true, digit groups are separated with underscores.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
indent = int(indent)
|
indent = int(indent)
|
||||||
width = int(width)
|
width = int(width)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue