(self, fieldname, prefix='')
Yields (text, terminfo) tuples for all terms in the given field.
Yields (text, terminfo) tuples for all terms in the given field.
Yields ( text terminfo ) tuples for all terms in the given field .
def iter_field(self, fieldname, prefix=''):
        """Yields (text, terminfo) tuples for all terms in the given field.
        """

        prefix = self._text_to_bytes(fieldname, prefix)
        for (fn, text), terminfo in self.iter_from(fieldname, prefix):
            if fn != fieldname:
                return
            yield text, terminfo
def iter_field ( self , fieldname , prefix = '' ) : prefix = self . _text_to_bytes ( fieldname , prefix ) for ( fn , text ) , terminfo in self . iter_from ( fieldname , prefix ) : if fn != fieldname : return yield text , terminfo