Skip to content

Commit c8959cf

Browse files
PR review fixes
1 parent 825c447 commit c8959cf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/argparse.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Author: Steven J. Bethard <steven.bethard@gmail.com>.
2+
# New maintainer as of 29 August 2019: Raymond Hettinger <raymond.hettinger@gmail.com>
23

34
"""Command-line parsing library
45
@@ -2756,7 +2757,7 @@ def _get_formatter(self):
27562757

27572758
def _get_validation_formatter(self):
27582759
# Return cached formatter for read-only validation operations
2759-
# (_expand_help and _format_args). Avoids repeated _set_color calls.
2760+
# (_expand_help and _format_args). Avoids repeated slow _set_color calls.
27602761
if self._cached_formatter is None:
27612762
self._cached_formatter = self._get_formatter()
27622763
return self._cached_formatter

0 commit comments

Comments
 (0)