(self, ins, length)
Parse a comma-separated list of arguments, last one optional.
Parse a comma-separated list of arguments, last one optional.
Parse a comma - separated list of arguments last one optional .
def _gen_parse_arguments_optional(self, ins, length):
        """Parse a comma-separated list of arguments, last one optional."""
        ins.require_read((b'(',))
        yield self.parse(ins)
        for _ in range(length-2):
            ins.require_read((b',',))
            yield self.parse(ins)
        if ins.skip_blank_read_if((b',',)):
            yield self.parse(ins)
        else:
            yield None
        ins.require_read((b')',))
def _gen_parse_arguments_optional ( self , ins , length ) : ins . require_read ( ( b'(' , ) ) yield self . parse ( ins ) for _ in range ( length - 2 ) : ins . require_read ( ( b',' , ) ) yield self . parse ( ins ) if ins . skip_blank_read_if ( ( b',' , ) ) : yield self . parse ( ins ) else : yield None ins . require_read ( ( b')' , ) )