def field(self, name, fieldType="C", size="50", decimal=0):
        """Adds a dbf field descriptor to the shapefile."""
        self.fields.append((name, fieldType, size, decimal))
def field ( self , name , fieldType = "C" , size = "50" , decimal = 0 ) : self . fields . append ( ( name , fieldType , size , decimal ) )
Adds a dbf field descriptor to the shapefile.