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

Method __eq__

deps/v8/third_party/jinja2/nodes.py:238–242  ·  view source on GitHub ↗
(self, other: t.Any)

Source from the content-addressed store, hash-verified

236 return self
237
238 def __eq__(self, other: t.Any) -> bool:
239 if type(self) is not type(other):
240 return NotImplemented
241
242 return tuple(self.iter_fields()) == tuple(other.iter_fields())
243
244 __hash__ = object.__hash__
245

Callers

nothing calls this directly

Calls 2

iter_fieldsMethod · 0.95
typeFunction · 0.50

Tested by

no test coverage detected