From 38d4257dcf918bfd7699fd0602dd61e6f6f5b558 Mon Sep 17 00:00:00 2001 From: Sequew <88668176+KrySeyt@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:04:17 +0300 Subject: [PATCH] [pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (#112963) Co-authored-by: Kirill Podoprigora --- Lib/pprint.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/pprint.py b/Lib/pprint.py index 34ed12637e22886..9314701db340c78 100644 --- a/Lib/pprint.py +++ b/Lib/pprint.py @@ -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)