

def read(self, wkt):
    if (not isinstance(wkt, (bytes, six.string_types))):
        raise TypeError
    return wkt_reader_read(self.ptr, force_bytes(wkt))

dataset/ETHPy150Open django/django/django/contrib/gis/geos/prototypes/io.py _WKTReader.read/original