almost_swapped

What it does

Checks for foo = bar; bar = foo sequences.

Why this is bad

This looks like a failed attempt to swap.

Example

a = b
b = a

...should be written as...

a, b = b, a