Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
911
def
is_empty_rpar(leaf: Leaf) -> bool:
912
return
leaf.type == token.RPAR and leaf.value ==
""
913
914
915
def
is_import(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