[pprint]: Add docstring about PrettyPrinter.underscore_numbers parameter (#112963)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
Sequew 2023-12-13 15:04:17 +03:00 committed by GitHub
parent 428c9812cb
commit 2a3c37c273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,6 +128,9 @@ def __init__(self, indent=1, width=80, depth=None, stream=None, *,
sort_dicts
If true, dict keys are sorted.
underscore_numbers
If true, digit groups are separated with underscores.
"""
indent = int(indent)
width = int(width)