diff --git a/src/black/trans.py b/src/black/trans.py index 2668d0600f9..cd95155ccd0 100644 --- a/src/black/trans.py +++ b/src/black/trans.py @@ -183,7 +183,7 @@ def handle_is_simple_look_up_prev(line: Line, index: int, disallowed: Set[int]) """ Handling the determination of is_simple_lookup for the lines prior to the doublestar token. This is required because of the need to isolate the chained expression - to determine the bracket or parenthesis belong to the single expression. + to determine the bracket or parenthesis belong to the single expression. """ contains_disallowed = False chain = [] @@ -207,7 +207,7 @@ def handle_is_simple_lookup_forward( """ Handling decision is_simple_lookup for the lines behind to the doublestar token. This function is simplified to keep consistent with the prior logic and the forward - case are more straightforward and do not need to care about chained expressions. + case are more straightforward and do not need to care about chained expressions. """ while 0 <= index < len(line.leaves): current = line.leaves[index]