MCPcopy Index your code
hub / github.com/RustPython/RustPython / __reduce__

Method __reduce__

Lib/typing.py:1625–1629  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1623 f'{_type_repr(args[-1])}]')
1624
1625 def __reduce__(self):
1626 args = self.__args__
1627 if not (len(args) == 2 and _is_param_expr(args[0])):
1628 args = list(args[:-1]), args[-1]
1629 return operator.getitem, (Callable, args)
1630
1631
1632class _CallableType(_SpecialGenericAlias, _root=True):

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
listClass · 0.85
_is_param_exprFunction · 0.70

Tested by

no test coverage detected