MCPcopy Index your code
hub / github.com/python/cpython / copy_with

Method copy_with

Lib/typing.py:1543–1544  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

1541 return new_args
1542
1543 def copy_with(self, args):
1544 return self.__class__(self.__origin__, args, name=self._name, inst=self._inst)
1545
1546 def __repr__(self):
1547 if self._name:

Callers 5

__getitem__Method · 0.95
_eval_typeFunction · 0.45
__getitem__Method · 0.45
copy_withMethod · 0.45
_strip_annotationsFunction · 0.45

Calls 1

__class__Method · 0.45

Tested by

no test coverage detected