(self)
| 483 | return super().__new__(cls, origin, args) |
| 484 | |
| 485 | def __repr__(self): |
| 486 | if len(self.__args__) == 2 and _is_param_expr(self.__args__[0]): |
| 487 | return super().__repr__() |
| 488 | from annotationlib import type_repr |
| 489 | return (f'collections.abc.Callable' |
| 490 | f'[[{", ".join([type_repr(a) for a in self.__args__[:-1]])}], ' |
| 491 | f'{type_repr(self.__args__[-1])}]') |
| 492 | |
| 493 | def __reduce__(self): |
| 494 | args = self.__args__ |
nothing calls this directly
no test coverage detected