Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
907
def
is_empty_lpar(leaf: Leaf) -> bool:
908
return
leaf.type == token.LPAR and leaf.value ==
""
909
910
911
def
is_empty_rpar(leaf: Leaf) -> bool:
Callers
3
do_match
Method · 0.90
do_splitter_match
Method · 0.90
is_empty_par
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected