commit | 2514f52f4f20723727efe9c686aa16a8d1ef3089 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Mon Oct 20 08:36:02 2014 +0200 |
committer | Georg Brandl <georg@python.org> | Mon Oct 20 08:36:02 2014 +0200 |
tree | 967f360d657d2f03fc65553ef1a3360ee7d29442 | |
parent | f23530f5690d2e37bba7235a6398b2c386a5b485 [diff] |
Closes #22675: fix typo.
diff --git a/Lib/argparse.py b/Lib/argparse.py index 4d26b07..be276bb 100644 --- a/Lib/argparse.py +++ b/Lib/argparse.py
@@ -490,7 +490,7 @@ action_width = help_position - self._current_indent - 2 action_header = self._format_action_invocation(action) - # ho nelp; start on same line and add a final newline + # no help; start on same line and add a final newline if not action.help: tup = self._current_indent, '', action_header action_header = '%*s%s\n' % tup