mirror of
https://github.com/python/cpython.git
synced 2025-07-22 18:55:22 +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:
|
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…
Add table
Add a link
Reference in a new issue