@trim.setter
    def trim(self, flag):
        if bool(flag) != self._trim:
            self._trim = bool(flag)
            wkt_writer_set_trim(self.ptr, b'\x01' if flag else b'\x00')
dataset/ETHPy150Open django/django/django/contrib/gis/geos/prototypes/io.py/WKTWriter.trim/original