diff --git a/geojson/examples.py b/geojson/examples.py index b2f29cf..468661a 100644 --- a/geojson/examples.py +++ b/geojson/examples.py @@ -1,3 +1,9 @@ +""" +SimpleWebFeature is a working example of a class that satisfies the Python geo +interface. +""" + + class SimpleWebFeature: """ @@ -36,12 +42,6 @@ def as_dict(self): __geo_interface__ = property(as_dict) - """ - Create an instance of SimpleWebFeature from a dict, o. If o does not - match a Python feature object, simply return o. This function serves as a - json decoder hook. See coding.load(). - """ - def create_simple_web_feature(o): """ diff --git a/geojson/feature.py b/geojson/feature.py index 06e3e60..613f169 100644 --- a/geojson/feature.py +++ b/geojson/feature.py @@ -1,8 +1,3 @@ -""" -SimpleWebFeature is a working example of a class that satisfies the Python geo -interface. -""" - from geojson.base import GeoJSON