Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ Example
Class
Example
Lib/test/test_contextlib.py:1101–1101 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1099
1100
def
test_instance_bypass(self):
1101
class
Example(object):
pass
1102
cm = Example()
1103
cm.__enter__ = object()
1104
cm.__exit__ = object()
Callers
1
test_instance_bypass
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_instance_bypass
Method · 0.56