MCPcopy
hub / github.com/django/django / __eq__

Method __eq__

django/contrib/gis/gdal/geometries.py:201–203  ·  view source on GitHub ↗

Is this Geometry equal to the other?

(self, other)

Source from the content-addressed store, hash-verified

199 return self.sym_difference(other)
200
201 def __eq__(self, other):
202 "Is this Geometry equal to the other?"
203 return isinstance(other, OGRGeometry) and self.equals(other)
204
205 def __str__(self):
206 "WKT is used for the string representation."

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.95

Tested by

no test coverage detected