MCPcopy Index your code
hub / github.com/RustPython/RustPython / __eq__

Method __eq__

extra_tests/snippets/builtin_dict.py:318–319  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

316 return 1
317
318 def __eq__(self, other):
319 return isinstance(other, A)
320
321
322class B:

Callers 9

builtin_float.pyFile · 0.45
builtin_object.pyFile · 0.45
builtin_range.pyFile · 0.45
builtin_str.pyFile · 0.45
builtin_bytes.pyFile · 0.45
builtin_none.pyFile · 0.45
builtin_int.pyFile · 0.45
builtin_slice.pyFile · 0.45

Calls 1

isinstanceFunction · 0.85

Tested by

no test coverage detected