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

Function is_empty_rpar

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

Source from the content-addressed store, hash-verified

909
910
911def is_empty_rpar(leaf: Leaf) -> bool:
912 return leaf.type == token.RPAR and leaf.value == ""
913
914
915def is_import(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