MCPcopy Create free account
hub / github.com/RustPython/RustPython / __str__

Method __str__

extra_tests/snippets/builtin_exceptions.py:39–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37 return "A()"
38
39 def __str__(self):
40 return "str"
41
42 def __eq__(self, other):
43 return type(other) is A

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected