| 1 | initial version |
For what it's worth, more "generalized" star unpacking is supported in more recent versions of Python 3 (I think 3.5+, maybe 3.6+):
>>> a = [1, 2, 3]
>>> b = [4, 5, 6]
>>> [*a, b]
[1, 2, 3, [4, 5, 6]]
This is just a general Python question though. Sage doesn't use Python 3 by default yet, though the next version will have significant progress toward Python 3 support.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.