Use properly renamed function name in docs

This commit is contained in:
Łukasz Langa 2020-08-21 15:46:00 +02:00
parent 2fc1dfca96
commit cb6f2198b8
2 changed files with 2 additions and 2 deletions

View File

@ -171,7 +171,7 @@ Utilities
.. autofunction:: black.re_compile_maybe_verbose
.. autofunction:: black.should_explode
.. autofunction:: black.should_split_body_explode
.. autofunction:: black.shutdown

View File

@ -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