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

Method copy_with

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

Source from the content-addressed store, hash-verified

1490 return new_args
1491
1492 def copy_with(self, args):
1493 return self.__class__(self.__origin__, args, name=self._name, inst=self._inst)
1494
1495 def __repr__(self):
1496 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