diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py index 588c6ba73fd..a593354c9d1 100644 --- a/Lib/distutils/fancy_getopt.py +++ b/Lib/distutils/fancy_getopt.py @@ -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