def match_paren ( self , tokens , item ) : match , = tokens return self . match ( match , item )
python regex match any kind of paranthesis
Matches a paren .
def match_paren(self, tokens, item):
        """Matches a paren."""
        match, = tokens
        return self.match(match, item)