(self)
| 684 | self) |
| 685 | |
| 686 | def _check_nargs(self): |
| 687 | if self.action in self.TYPED_ACTIONS: |
| 688 | if self.nargs is None: |
| 689 | self.nargs = 1 |
| 690 | elif self.nargs is not None: |
| 691 | raise OptionError( |
| 692 | "'nargs' must not be supplied for action %r" % self.action, |
| 693 | self) |
| 694 | |
| 695 | def _check_callback(self): |
| 696 | if self.action == "callback": |
nothing calls this directly
no test coverage detected