]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (#112963)
authorSequew <88668176+KrySeyt@users.noreply.github.com>
Wed, 13 Dec 2023 12:04:17 +0000 (15:04 +0300)
committerGitHub <noreply@github.com>
Wed, 13 Dec 2023 12:04:17 +0000 (12:04 +0000)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Lib/pprint.py

index 34ed12637e228867cd162ae7d21b56d68421836b..9314701db340c783fcf3dffae73debf949ba1883 100644 (file)
@@ -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)