Skip to content

Commit

Permalink
Use properly renamed function name in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Aug 21, 2020
1 parent 7cf3620 commit f200a7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/reference_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Utilities

.. autofunction:: black.re_compile_maybe_verbose

.. autofunction:: black.should_explode
.. autofunction:: black.should_split_body_explode

.. autofunction:: black.shutdown

Expand Down
2 changes: 1 addition & 1 deletion src/black/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f200a7f

Please sign in to comment.