MCPcopy Create free account
hub / github.com/nodejs/node / __eq__

Method __eq__

tools/inspector_protocol/jinja2/nodes.py:228–230  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

226 return self
227
228 def __eq__(self, other):
229 return type(self) is type(other) and \
230 tuple(self.iter_fields()) == tuple(other.iter_fields())
231
232 def __ne__(self, other):
233 return not self.__eq__(other)

Callers 1

__ne__Method · 0.95

Calls 2

iter_fieldsMethod · 0.95
typeFunction · 0.50

Tested by

no test coverage detected