(s: ProperType, t: ProperType)
| 707 | |
| 708 | |
| 709 | def normalize_callables(s: ProperType, t: ProperType) -> tuple[ProperType, ProperType]: |
| 710 | if isinstance(s, (CallableType, Overloaded)): |
| 711 | s = s.with_unpacked_kwargs() |
| 712 | if isinstance(t, (CallableType, Overloaded)): |
| 713 | t = t.with_unpacked_kwargs() |
| 714 | return s, t |
| 715 | |
| 716 | |
| 717 | def is_similar_callables(t: CallableType, s: CallableType) -> bool: |
no test coverage detected
searching dependent graphs…