MCPcopy
hub / github.com/django/django / _clone

Method _clone

django/contrib/gis/geos/polygon.py:95–99  ·  view source on GitHub ↗
(self, g)

Source from the content-addressed store, hash-verified

93 return capi.create_polygon(shell, holes_param, n_holes)
94
95 def _clone(self, g):
96 if isinstance(g, GEOM_PTR):
97 return capi.geom_clone(g)
98 else:
99 return capi.geom_clone(g.ptr)
100
101 def _construct_ring(
102 self,

Callers 2

_create_polygonMethod · 0.95
get_resultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected