On Sat, Sep 17, 2016 at 2:05 AM, Peng Yu <pengyu...@gmail.com> wrote: > > 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.
See help('ASSIGNMENT') where the "target list is a comma-separated list of targets". See also help('TUPLELITERALS') and help('SEQUENCES'). -- https://mail.python.org/mailman/listinfo/python-list