Sorry, ignore that - I see Serhiy used "print(*a)".
Paul

On Fri, 7 Feb 2020 at 08:10, Paul Moore <[email protected]> wrote:
>
> On Thu, 6 Feb 2020 at 23:14, Guido van Rossum <[email protected]> wrote:
> >
> > How did we move from [*a,...] to print(*a,...)? They are quite different.
>
> It was a good way to demonstrate evaluation order, as an expression
> with a visible side effect. What the expression [print("a"), *None,
> print("b")] prints before the "cannot unpack NoneType" exception,
> demonstrates what order the expressions were evaluated in.
>
> Paul
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/SETEEWYQNUW3FGGRTW6NPOCWRQQVHMRV/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to