Steven D'Aprano <steve+pyt...@pearwood.info> added the comment:
Why would they give the same result when the code is different? #1 assign c, d, e and everything left over goes into b *b, c, d, e, = [1, 2, 3, 4] #2 assign c, d and everything left over goes into b *b, c, d, = [1, 2, 3, 4] #3 assign c and everything left over goes into b *b, c, = [1, 2, 3, 4] #4 assign nothing and everything left over goes into b *b, = [1, 2, 3, 4] ---------- nosy: +steven.daprano _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38516> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com