meaning of: line, =

Tim Chase python.list at tim.thechases.com
Thu Feb 5 12:00:46 EST 2015


On 2015-02-05 08:45, Rustom Mody wrote:
> > >>> def f(a, (b, c)):
> > ...     print a, b, c
> 
> What the hell is that?!
> First I am hearing/seeing it.
> Whats it called?

"tuple parameter unpacking", removed in Py3

https://www.python.org/dev/peps/pep-3113/

-tkc






More information about the Python-list mailing list