summaryrefslogtreecommitdiffstats
path: root/Lib/argparse.py
diff options
context:
space:
mode:
authorGrant Jenks <grant.jenks@gmail.com>2018-08-22 20:14:14 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2018-08-22 20:14:14 (GMT)
commit65bef36f0bc5d8c3f6a47568012df4ae5ba2ac8b (patch)
tree24ae760dc7bea058d9280f1b96733c45e2f91e93 /Lib/argparse.py
parentc583919ffced0a3b6409766fc12f6e28bef4fac7 (diff)
downloadcpython-65bef36f0bc5d8c3f6a47568012df4ae5ba2ac8b.zip
cpython-65bef36f0bc5d8c3f6a47568012df4ae5ba2ac8b.tar.gz
cpython-65bef36f0bc5d8c3f6a47568012df4ae5ba2ac8b.tar.bz2
Remove superseded line from argparse.HelpFormatter() (GH-8839)
Diffstat (limited to 'Lib/argparse.py')
-rw-r--r--Lib/argparse.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/argparse.py b/Lib/argparse.py
index 83f47e3..798766f 100644
--- a/Lib/argparse.py
+++ b/Lib/argparse.py
@@ -170,7 +170,6 @@ class HelpFormatter(object):
self._prog = prog
self._indent_increment = indent_increment
- self._max_help_position = max_help_position
self._max_help_position = min(max_help_position,
max(width - 20, indent_increment * 2))
self._width = width