mirror of https://github.com/python/cpython
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
|
@ -239,7 +239,7 @@ class FancyGetopt:
|
||||||
if args is None:
|
if args is None:
|
||||||
args = sys.argv[1:]
|
args = sys.argv[1:]
|
||||||
if object is None:
|
if object is None:
|
||||||
object = OptionDummy(self.attr_name.values())
|
object = OptionDummy()
|
||||||
created_object = 1
|
created_object = 1
|
||||||
else:
|
else:
|
||||||
created_object = 0
|
created_object = 0
|
||||||
|
|
Loading…
Reference in New Issue