diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-12-13 12:38:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 12:38:07 (GMT) |
commit | 6601962530d7d5a951aaf0d2357462e4c2e04e68 (patch) | |
tree | 91ec42995e56cf77ada8ae19219217568f3333b8 /Lib/pprint.py | |
parent | 3bf2a4a3827176b51d1305275e54706cd3b9febd (diff) | |
download | cpython-6601962530d7d5a951aaf0d2357462e4c2e04e68.zip cpython-6601962530d7d5a951aaf0d2357462e4c2e04e68.tar.gz cpython-6601962530d7d5a951aaf0d2357462e4c2e04e68.tar.bz2 |
[3.12] [pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (GH-112963) (#113053)
[pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (GH-112963)
(cherry picked from commit 2a3c37c273762d2dc40bfdae3899cb09b7c88d4a)
Co-authored-by: Sequew <88668176+KrySeyt@users.noreply.github.com>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Lib/pprint.py')
-rw-r--r-- | Lib/pprint.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/pprint.py b/Lib/pprint.py index 34ed126..9314701 100644 --- a/Lib/pprint.py +++ b/Lib/pprint.py @@ -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) |