Martin Panter added the comment: I prefer to unpack into square brackets in general because it is a mnemonic for the star argument being a list:
>>> (a, *b) = range(3) >>> a 0 >>> b # A list, even though it was unpacked using tuple-like syntax [1, 2] ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23275> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com