(self, fieldname)
Starts a new graph for the given field.
Starts a new graph for the given field.
Starts a new graph for the given field .
def start_field(self, fieldname):
        """Starts a new graph for the given field.
        """

        if not fieldname:
            raise ValueError("Field name cannot be equivalent to False")
        if self._infield:
            self.finish_field()
        self.fieldname = fieldname
        self.seen = {}
        self.nodes = [UncompiledNode(self)]
        self.lastkey = ''
        self._inserted = False
        self._infield = True
def start_field ( self , fieldname ) : if not fieldname : raise ValueError ( "Field name cannot be equivalent to False" ) if self . _infield : self . finish_field ( ) self . fieldname = fieldname self . seen = { } self . nodes = [ UncompiledNode ( self ) ] self . lastkey = '' self . _inserted = False self . _infield = True