(self, ins)
Parse PSET and PRESET syntax.
Parse PSET and PRESET syntax.
Parse PSET and PRESET syntax .
def _parse_pset_preset(self, ins):
        """Parse PSET and PRESET syntax."""
        yield ins.skip_blank_read_if((tk.STEP,))
        for c in self._parse_pair(ins):
            yield c
        if ins.skip_blank_read_if((b',',)):
            yield self.parse_expression(ins)
        else:
            yield None
        ins.require_end()
def _parse_pset_preset ( self , ins ) : yield ins . skip_blank_read_if ( ( tk . STEP , ) ) for c in self . _parse_pair ( ins ) : yield c if ins . skip_blank_read_if ( ( b',' , ) ) : yield self . parse_expression ( ins ) else : yield None ins . require_end ( )