MCPcopy
hub / github.com/django/django / _get_single_external

Method _get_single_external

django/contrib/gis/geos/polygon.py:145–148  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

143 return capi.get_intring(self.ptr, index - 1)
144
145 def _get_single_external(self, index):
146 return GEOSGeometry(
147 capi.geom_clone(self._get_single_internal(index)), srid=self.srid
148 )
149
150 _set_single = GEOSGeometry._set_single_rebuild
151 _assign_extended_slice = GEOSGeometry._assign_extended_slice_rebuild

Callers

nothing calls this directly

Calls 2

_get_single_internalMethod · 0.95
GEOSGeometryClass · 0.90

Tested by

no test coverage detected