commit | 0f6b47a338fdc0063c651657fcbb6908da27f0b9 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Jan 30 12:19:35 2011 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Jan 30 12:19:35 2011 +0000 |
tree | dd9fadce4192f09548ba1851fbd5381d6f2120e2 | |
parent | d2f3857c40a340f252397eb16b4289403af8bf76 [diff] [blame] |
#10680: fix mutually exclusive arguments in argument groups.
diff --git a/Lib/argparse.py b/Lib/argparse.py index 5fd82da..de3cd11 100644 --- a/Lib/argparse.py +++ b/Lib/argparse.py
@@ -1495,6 +1495,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)