Skip to content

Commit

Permalink
Cleaner, easier
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Gillies committed Apr 29, 2016
1 parent 75fc58c commit 5a2eac6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ From https://trac.osgeo.org/gdal/wiki/ConfigOptions:
GDAL Example
------------

The following is from [GDAL's test suite](https://github.com/OSGeo/gdal/blob/0b75aa3c39e6d126439fb17eed939de39f6f3720/autotest/gcore/tiff_read.py#L117-L119).
The following is from `GDAL's test suite <https://github.com/OSGeo/gdal/blob/0b75aa3c39e6d126439fb17eed939de39f6f3720/autotest/gcore/tiff_read.py#L117-L119>`__.

.. code-block:: python
Expand Down Expand Up @@ -52,8 +52,9 @@ recover better from errors.
for key, val in options.items():
gdal.SetConfigOption(key, None)
Rasterio uses an element of Python syntax, the ``with`` statement, to make
this even better.
This is better, but has a lot of boilerplate. Rasterio uses elements of Python
syntax, keyword arguments and the ``with`` statement, to make this cleaner
and easier to use.

Rasterio
--------
Expand Down

0 comments on commit 5a2eac6

Please sign in to comment.