(self, action)
| 1738 | action.container._remove_action(action) |
| 1739 | |
| 1740 | def _check_help(self, action): |
| 1741 | if action.help and hasattr(self, "_get_validation_formatter"): |
| 1742 | formatter = self._get_validation_formatter() |
| 1743 | try: |
| 1744 | formatter._expand_help(action) |
| 1745 | except (ValueError, TypeError, KeyError) as exc: |
| 1746 | raise ValueError('badly formed help string') from exc |
| 1747 | |
| 1748 | |
| 1749 | class _ArgumentGroup(_ActionsContainer): |
no test coverage detected