The following input is stable with black ...
if (
a
# own line comment between left hand side and `and`
and
# own line comment between `and` and right hand side
b
):
pass
... but we move the second own line comment before the and:
if (
a
# own line comment between left hand side and `and`
# own line comment between `and` and right hand side
and b
):
pass
The behavior is the same with or, but + works, i.e. other binary expressions work but not boolean expressions.
The following input is stable with black ...
... but we move the second own line comment before the
and:The behavior is the same with
or, but+works, i.e. other binary expressions work but not boolean expressions.