commit | 7f41b88bb7b978205a438c7eea2b7f6bba6862d0 | [log] [tgz] |
---|---|---|
author | Steven Bethard <steven.bethard@gmail.com> | Sun Jan 30 14:05:38 2011 +0000 |
committer | Steven Bethard <steven.bethard@gmail.com> | Sun Jan 30 14:05:38 2011 +0000 |
tree | 0f4b9a22fbcc91aeb5e217e9f859b460d38d3fb0 | |
parent | 53c460d5fb3f2d5bdd001a7eaf621751faa87ff2 [diff] [blame] |
#10680: fix mutually exclusive arguments in argument groups.
diff --git a/Lib/argparse.py b/Lib/argparse.py index 75cc28a..8e1722a 100644 --- a/Lib/argparse.py +++ b/Lib/argparse.py
@@ -1482,6 +1482,7 @@ self._defaults = container._defaults self._has_negative_number_optionals = \ container._has_negative_number_optionals + self._mutually_exclusive_groups = container._mutually_exclusive_groups def _add_action(self, action): action = super(_ArgumentGroup, self)._add_action(action)