(tp: CallableType)
| 3161 | |
| 3162 | |
| 3163 | def get_first_arg(tp: CallableType) -> str | None: |
| 3164 | definition = get_func_def(tp) |
| 3165 | if not isinstance(definition, FuncDef) or not definition.info or definition.is_static: |
| 3166 | return None |
| 3167 | return definition.original_first_arg |
| 3168 | |
| 3169 | |
| 3170 | def variance_string(variance: int) -> str: |
no test coverage detected
searching dependent graphs…