(self)
| 491 | f'{type_repr(self.__args__[-1])}]') |
| 492 | |
| 493 | def __reduce__(self): |
| 494 | args = self.__args__ |
| 495 | if not (len(args) == 2 and _is_param_expr(args[0])): |
| 496 | args = list(args[:-1]), args[-1] |
| 497 | return _CallableGenericAlias, (Callable, args) |
| 498 | |
| 499 | def __getitem__(self, item): |
| 500 | # Called during TypeVar substitution, returns the custom subclass |
nothing calls this directly
no test coverage detected