X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e2adcd7de10eb570987bb894d95f2ff8c8693b9f..1f2ad77505337ee68ed5236fc5621cf0690e783c:/src/black/trans.py?ds=inline diff --git a/src/black/trans.py b/src/black/trans.py index 74b932b..7e2d8e6 100644 --- a/src/black/trans.py +++ b/src/black/trans.py @@ -1256,7 +1256,7 @@ class StringSplitter(BaseStringSplitter, CustomSplitMapMixin): string_op_leaves = self._get_string_operator_leaves(LL) string_op_leaves_length = ( - sum([len(str(prefix_leaf)) for prefix_leaf in string_op_leaves]) + 1 + sum(len(str(prefix_leaf)) for prefix_leaf in string_op_leaves) + 1 if string_op_leaves else 0 )