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

Function is_empty_par

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

Source from the content-addressed store, hash-verified

901
902
903def is_empty_par(leaf: Leaf) -> bool:
904 return is_empty_lpar(leaf) or is_empty_rpar(leaf)
905
906
907def is_empty_lpar(leaf: Leaf) -> bool:

Callers 6

_return_matchMethod · 0.90
_else_matchMethod · 0.90
_assert_matchMethod · 0.90
_assign_matchMethod · 0.90
_dict_or_lambda_matchMethod · 0.90
_next_stateMethod · 0.90

Calls 2

is_empty_lparFunction · 0.85
is_empty_rparFunction · 0.85

Tested by

no test coverage detected