_match_long_opt(opt : string) -> string Determine which long option string 'opt' matches, ie. which one it is an unambiguous abbreviation for. Raises BadOptionError if 'opt' doesn't unambiguously match any long option string.
(self, opt)
| 1446 | # not a very interesting subset! |
| 1447 | |
| 1448 | def _match_long_opt(self, opt): |
| 1449 | """_match_long_opt(opt : string) -> string |
| 1450 | |
| 1451 | Determine which long option string 'opt' matches, ie. which one |
| 1452 | it is an unambiguous abbreviation for. Raises BadOptionError if |
| 1453 | 'opt' doesn't unambiguously match any long option string. |
| 1454 | """ |
| 1455 | return _match_abbrev(opt, self._long_opt) |
| 1456 | |
| 1457 | def _process_long_opt(self, rargs, values): |
| 1458 | arg = rargs.pop(0) |
no test coverage detected