y := f(x) # INVALID (y := f(x)) # Valid, though not recommended y0 = y1 := f(x) # INVALID y0 = (y1 := f(x)) # Valid, though discouraged class A: [y := i for i in range(2)]