From: Ɓukasz Langa Date: Fri, 21 Aug 2020 13:46:00 +0000 (+0200) Subject: Use properly renamed function name in docs X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/cb6f2198b8fc700f8cc0d36c338d613e509250f8 Use properly renamed function name in docs --- diff --git a/docs/reference/reference_functions.rst b/docs/reference/reference_functions.rst index 1beecc1..a718411 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 8d0c70f..faa88b3 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