mirror of
https://github.com/python/cpython.git
synced 2024-11-28 04:15:11 +08:00
Test changes before checking them in.
This commit is contained in:
parent
40ebbeff23
commit
8f787bf1d0
@ -359,7 +359,7 @@ class FancyGetopt:
|
||||
lines = ['Option summary:']
|
||||
|
||||
for option in self.option_table:
|
||||
long, short, help = option_table[:3]
|
||||
long, short, help = option[:3]
|
||||
text = wrap_text(help, text_width)
|
||||
if long[-1] == '=':
|
||||
long = long[0:-1]
|
||||
|
Loading…
Reference in New Issue
Block a user