(opt: object)
| 45 | |
| 46 | |
| 47 | def _option_key(opt: object) -> tuple: |
| 48 | if opt.short or opt.long: # type: ignore[union-attr] |
| 49 | return (tuple(sorted(opt.short)), tuple(sorted(opt.long))) # type: ignore[union-attr] |
| 50 | return ("positional", opt.positional) # type: ignore[union-attr] |
| 51 | |
| 52 | |
| 53 | def _fmt_flags(opt: object) -> str: |
no outgoing calls
no test coverage detected