(typ: Instance)
| 34 | |
| 35 | |
| 36 | def get_singledispatch_info(typ: Instance) -> SingledispatchTypeVars | None: |
| 37 | if len(typ.args) == 2: |
| 38 | return SingledispatchTypeVars(*typ.args) # type: ignore[arg-type] |
| 39 | return None |
| 40 | |
| 41 | |
| 42 | T = TypeVar("T") |
no test coverage detected
searching dependent graphs…