document shared opening option in docstrings - closes #375

This commit is contained in:
Dane Springmeyer 2009-12-04 23:32:25 +00:00
parent 0aeb286bfa
commit 51569ce9fc

View file

@ -359,6 +359,7 @@ def Gdal(**keywords):
Optional keyword arguments:
base -- path prefix (default None)
shared -- boolean, open GdalDataset in shared mode (default: False)
>>> from mapnik import Gdal, Layer
>>> dataset = Gdal(base='/home/mapnik/data',file='elevation.tif')