#10680: fix mutually exclusive arguments in argument groups.

This commit is contained in:
Georg Brandl 2011-01-30 12:19:35 +00:00
parent d2f3857c40
commit 0f6b47a338
3 changed files with 44 additions and 0 deletions

View file

@ -1495,6 +1495,7 @@ class _ArgumentGroup(_ActionsContainer):
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)