diff --git a/docs/reference/reference_functions.rst b/docs/reference/reference_functions.rst index 1beecc10325..a7184115c94 100644 --- a/docs/reference/reference_functions.rst +++ b/docs/reference/reference_functions.rst @@ -171,7 +171,7 @@ Utilities .. autofunction:: black.re_compile_maybe_verbose -.. autofunction:: black.should_explode +.. autofunction:: black.should_split_body_explode .. autofunction:: black.shutdown diff --git a/src/black/__init__.py b/src/black/__init__.py index 8d0c70f06c7..faa88b38af7 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -5559,7 +5559,7 @@ def ensure_visible(leaf: Leaf) -> None: def should_split_body_explode(line: Line, opening_bracket: Leaf) -> bool: - """Should `line` immediately be split with `delimiter_split()` after RHS?""" + """Should `line` be immediately split with `delimiter_split()` after RHS?""" if not (opening_bracket.parent and opening_bracket.value in "[{("): return False