mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Don't take advantage of OptionDummy's new "auto-initialization" feature
after all -- turns out it doesn't buy us much after all...
This commit is contained in:
parent
474607777d
commit
981f7368f6
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class FancyGetopt:
|
|||
if args is None:
|
||||
args = sys.argv[1:]
|
||||
if object is None:
|
||||
object = OptionDummy(self.attr_name.values())
|
||||
object = OptionDummy()
|
||||
created_object = 1
|
||||
else:
|
||||
created_object = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue