(opt: str)
| 109 | |
| 110 | |
| 111 | def _split_opt(opt: str) -> tuple[str, str]: |
| 112 | first = opt[:1] |
| 113 | if first.isalnum(): |
| 114 | return "", opt |
| 115 | if opt[1:2] == first: |
| 116 | return opt[:2], opt[2:] |
| 117 | return first, opt[1:] |
| 118 | |
| 119 | |
| 120 | def _normalize_opt(opt: str, ctx: Context | None) -> str: |
no outgoing calls
no test coverage detected