(cls, expression, syntax=DEFAULT_SYNTAX)
return cls.SYNTAXES[syntax](expression)
Convert a syntax-specific expression into a BaseSpec instance.
Convert a syntax-specific expression into a BaseSpec instance.
Convert a syntax - specific expression into a BaseSpec instance .
def parse(cls, expression, syntax=DEFAULT_SYNTAX):
        """Convert a syntax-specific expression into a BaseSpec instance."""
        return cls.SYNTAXES[syntax](expression)
def parse ( cls , expression , syntax = DEFAULT_SYNTAX ) : return cls . SYNTAXES [ syntax ] ( expression )