summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 21:10:35 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 21:10:35 (GMT)
commit40ebbeff23bb109c5215246f8d400f832e4065d4 (patch)
treef7797e042d2d1e21c22234aee6a4ae4dbe56ad98 /Lib
parent6b3996b2b93d134ca9528a3d6a7f4d2071973146 (diff)
downloadcpython-40ebbeff23bb109c5215246f8d400f832e4065d4.zip
cpython-40ebbeff23bb109c5215246f8d400f832e4065d4.tar.gz
cpython-40ebbeff23bb109c5215246f8d400f832e4065d4.tar.bz2
Track extra arg to option_table to all uses of it
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/fancy_getopt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py
index 2ed29a2..a11b4d5 100644
--- a/Lib/distutils/fancy_getopt.py
+++ b/Lib/distutils/fancy_getopt.py
@@ -358,8 +358,8 @@ class FancyGetopt:
else:
lines = ['Option summary:']
- for (long,short,help) in self.option_table:
-
+ for option in self.option_table:
+ long, short, help = option_table[:3]
text = wrap_text(help, text_width)
if long[-1] == '=':
long = long[0:-1]