asterisk in tuple, list and set definitions, double asterisk in dict definition

This is PEP-448: Additional Unpacking Generalizations, which is new in Python 3.5. The relevant change-log is in https://docs.python.org/3/whatsnew/3.5.html#pep-448-additional-unpacking-generalizations: PEP 448 extends the allowed uses of the * iterable unpacking operator and ** dictionary unpacking operator. It is now possible to use an arbitrary number of unpackings in function calls: >>> >>> print(*[1], *[2], 3, *[4, … Read more