Skip to main content

Module parenthesize

Module parenthesize 

Source

Functionsยง

parentheses_iterator
Returns an iterator over the ranges of the optional parentheses surrounding an expression.
parenthesized_range
Returns the TextRange of a given expression including parentheses, if the expression is parenthesized; or None, if the expression is not parenthesized.