X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/14ba1bf8b6248e6860ba6a0cb9468c4c1c25a102..634dc5a20ecc5101040f279ad0f62d976a7a36ea:/black.py diff --git a/black.py b/black.py index 81241f6..9cb6e1d 100644 --- a/black.py +++ b/black.py @@ -2013,6 +2013,8 @@ def right_hand_split( If the split was by optional parentheses, attempt splitting without them, too. `omit` is a collection of closing bracket IDs that shouldn't be considered for this split. + + Note: running this function modifies `bracket_depth` on the leaves of `line`. """ head = Line(depth=line.depth) body = Line(depth=line.depth + 1, inside_brackets=True)