Sorry, ignore that - I see Serhiy used "print(*a)". Paul
On Fri, 7 Feb 2020 at 08:10, Paul Moore <p.f.mo...@gmail.com> wrote: > > On Thu, 6 Feb 2020 at 23:14, Guido van Rossum <gu...@python.org> 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 -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/SETEEWYQNUW3FGGRTW6NPOCWRQQVHMRV/ Code of Conduct: http://python.org/psf/codeofconduct/