diff options
| author | Justin Bronn <jbronn@gmail.com> | 2012-10-07 17:28:19 -0700 |
|---|---|---|
| committer | Justin Bronn <jbronn@gmail.com> | 2012-10-07 17:28:19 -0700 |
| commit | 08eb54ae711ec087457333a259a7861eb5b39063 (patch) | |
| tree | 175b97baf4dc1b1d0ed62e9863635e50434290d2 | |
| parent | ec1aad1671bfbba7ef58e7477dd14d7add065838 (diff) | |
GDAL docstring tweaks.
| -rw-r--r-- | django/contrib/gis/gdal/feature.py | 3 | ||||
| -rw-r--r-- | django/contrib/gis/gdal/tests/test_ds.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/django/contrib/gis/gdal/feature.py b/django/contrib/gis/gdal/feature.py index cf154d74b8..6f338ad269 100644 --- a/django/contrib/gis/gdal/feature.py +++ b/django/contrib/gis/gdal/feature.py @@ -24,8 +24,7 @@ class Feature(GDALBase): #### Python 'magic' routines #### def __init__(self, feat, layer): """ - Initializes on the feature pointers for the feature and the layer - definition, as well as the Layer. + Initializes Feature from a pointer and its Layer object. """ if not feat: raise OGRException('Cannot create OGR Feature, invalid pointer given.') diff --git a/django/contrib/gis/gdal/tests/test_ds.py b/django/contrib/gis/gdal/tests/test_ds.py index 9ac1bc8d70..634f204b86 100644 --- a/django/contrib/gis/gdal/tests/test_ds.py +++ b/django/contrib/gis/gdal/tests/test_ds.py @@ -126,8 +126,7 @@ class DataSourceTest(unittest.TestCase): def test03c_layer_references(self): """ - Test to make sure Layer/Feature access is still available without - the DataSource/Feature. + Ensure OGR objects keep references to the objects they belong to. """ source = ds_list[0] |
