Skip to content

Commit

Permalink
[pprint]: Add docstring about PrettyPrinter.underscore_numbers para…
Browse files Browse the repository at this point in the history
…meter (python#112963)

Co-authored-by: Kirill Podoprigora <[email protected]>
  • Loading branch information
2 people authored and Glyphack committed Jan 27, 2024
1 parent d7505b1 commit 38d4257
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/pprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 38d4257

Please sign in to comment.