From 0f6b47a338fdc0063c651657fcbb6908da27f0b9 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 30 Jan 2011 12:19:35 +0000 Subject: #10680: fix mutually exclusive arguments in argument groups. --- Lib/argparse.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/argparse.py') diff --git a/Lib/argparse.py b/Lib/argparse.py index 5fd82dac43..de3cd11479 100644 --- a/Lib/argparse.py +++ b/Lib/argparse.py @@ -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) -- cgit v1.2.1