On Sat, 17 Sep 2016 12:05 pm, Peng Yu wrote: > Hi, > > I'm wondering where is the documentation for ',' as in the following > usage. > > x = 1 > y = 2 > x, y = y, x > > I tried help(','). But there are too many ',' in it and I don't see in > which section ',' is documented. Could anybody let me know? Thanks.
As well as the other suggestions you have been given, try "Sequence Unpacking". -- Steve “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse. -- https://mail.python.org/mailman/listinfo/python-list