I ran into example code that uses a statement with the same variable:
event_type=event_type=str(payload_json['event'])
I have tried:
a=b=c=d=10
and all four variables (a, b, c and d) all become 10. Like:
a=10
b=10
c=10
d=10
This is an Amazon code example so I doubt my understanding of Python rather than the code example. The page can be found here: AWS Kinesis example
What is likely happening here? Some Python voodoo I don't understand or just a typo?