summaryrefslogtreecommitdiffstats
path: root/Lib/argparse.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-20 06:36:02 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-20 06:36:02 (GMT)
commit2514f52f4f20723727efe9c686aa16a8d1ef3089 (patch)
tree967f360d657d2f03fc65553ef1a3360ee7d29442 /Lib/argparse.py
parentf23530f5690d2e37bba7235a6398b2c386a5b485 (diff)
downloadcpython-2514f52f4f20723727efe9c686aa16a8d1ef3089.zip
cpython-2514f52f4f20723727efe9c686aa16a8d1ef3089.tar.gz
cpython-2514f52f4f20723727efe9c686aa16a8d1ef3089.tar.bz2
Closes #22675: fix typo.
Diffstat (limited to 'Lib/argparse.py')
-rw-r--r--Lib/argparse.py2
1 files changed, 1 insertions, 1 deletions
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 @@ class HelpFormatter(object):
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