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

Class FakeStr

Lib/test/test_descr.py:5074–5075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5072
5073 def test_proxy_call(self):
5074 class FakeStr:
5075 __class__ = str
5076
5077 fake_str = FakeStr()
5078 # isinstance() reads __class__

Callers 1

test_proxy_callMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_proxy_callMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…