(self, action)
| 1820 | action.container._remove_action(action) |
| 1821 | |
| 1822 | def _check_help(self, action): |
| 1823 | if action.help and hasattr(self, "_get_validation_formatter"): |
| 1824 | formatter = self._get_validation_formatter() |
| 1825 | try: |
| 1826 | formatter._expand_help(action) |
| 1827 | except (ValueError, TypeError, KeyError) as exc: |
| 1828 | raise ValueError('badly formed help string') from exc |
| 1829 | |
| 1830 | |
| 1831 | class _ArgumentGroup(_ActionsContainer): |
no test coverage detected