Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ A
Class
A
extra_tests/snippets/builtin_exceptions.py:35–43 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
34
35
class
A:
36
def
__repr__(self):
37
return
"A()"
38
39
def
__str__(self):
40
return
"str"
41
42
def
__eq__(self, other):
43
return
type(other) is A
44
45
46
exc = KeyError(A())
Callers
1
builtin_exceptions.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected