MCPcopy 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
35class 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
46exc = KeyError(A())

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected