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

Method _with_repr

Lib/test/support/_hypothesis_stubs/_helpers.py:8–11  ·  view source on GitHub ↗
(self, new_repr)

Source from the content-addressed store, hash-verified

6 self.__repr = None
7
8 def _with_repr(self, new_repr):
9 new_obj = self.__class__(*self.__stub_args, **self.__stub_kwargs)
10 new_obj.__repr = new_repr
11 return new_obj
12
13 def __repr__(self):
14 if self.__repr is not None:

Callers 4

mapMethod · 0.80
flatmapMethod · 0.80
filterMethod · 0.80
__or__Method · 0.80

Calls 1

__class__Method · 0.45

Tested by

no test coverage detected