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

Method __ne__

Lib/weakref.py:82–87  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

80 return NotImplemented
81
82 def __ne__(self, other):
83 if isinstance(other, WeakMethod):
84 if not self._alive or not other._alive:
85 return self is not other
86 return ref.__ne__(self, other) or self._func_ref != other._func_ref
87 return NotImplemented
88
89 __hash__ = ref.__hash__
90

Callers 14

builtin_float.pyFile · 0.45
builtin_dict.pyFile · 0.45
builtin_object.pyFile · 0.45
builtin_set.pyFile · 0.45
builtin_range.pyFile · 0.45
builtin_str.pyFile · 0.45
builtin_bytes.pyFile · 0.45
stdlib_array.pyFile · 0.45
builtin_tuple.pyFile · 0.45
builtin_list.pyFile · 0.45
builtin_none.pyFile · 0.45

Calls 1

isinstanceFunction · 0.85

Tested by

no test coverage detected