MCPcopy
hub / github.com/psf/black / is_empty_lpar

Function is_empty_lpar

src/black/nodes.py:907–908  ·  view source on GitHub ↗
(leaf: Leaf)

Source from the content-addressed store, hash-verified

905
906
907def is_empty_lpar(leaf: Leaf) -> bool:
908 return leaf.type == token.LPAR and leaf.value == ""
909
910
911def is_empty_rpar(leaf: Leaf) -> bool:

Callers 3

do_matchMethod · 0.90
do_splitter_matchMethod · 0.90
is_empty_parFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected