(self, opts)
| 571 | checker(self) |
| 572 | |
| 573 | def _check_opt_strings(self, opts): |
| 574 | # Filter out None because early versions of Optik had exactly |
| 575 | # one short option and one long option, either of which |
| 576 | # could be None. |
| 577 | opts = [opt for opt in opts if opt] |
| 578 | if not opts: |
| 579 | raise TypeError("at least one option string must be supplied") |
| 580 | return opts |
| 581 | |
| 582 | def _set_opt_strings(self, opts): |
| 583 | for opt in opts: |