Changeset 1051
- Timestamp:
- 02/22/08 15:53:03
- Files:
-
- Shapely/trunk/shapely/geometry/polygon.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Shapely/trunk/shapely/geometry/polygon.py
r1044 r1051 173 173 pass 174 174 else: 175 self._geom, self._ndim s= geos_linearring_from_py(coordinates)175 self._geom, self._ndim = geos_linearring_from_py(coordinates) 176 176 177 177 @property … … 279 279 def geos_polygon_from_py(shell, holes=None): 280 280 if shell is not None: 281 geos_shell, ndim s= geos_linearring_from_py(shell)281 geos_shell, ndim = geos_linearring_from_py(shell) 282 282 if holes: 283 283 ob = holes … … 295 295 # add to coordinate sequence 296 296 for l in xrange(L): 297 geom, ndim s= geos_linearring_from_py(ob[l])297 geom, ndim = geos_linearring_from_py(ob[l]) 298 298 geos_holes[l] = cast(geom, c_void_p) 299 299 … … 308 308 L 309 309 ), 310 ndim s310 ndim 311 311 ) 312 312 … … 340 340 341 341 if shell is not None: 342 self._geom, self._ndim s= geos_polygon_from_py(shell, holes)342 self._geom, self._ndim = geos_polygon_from_py(shell, holes) 343 343 344 344 @property
