> Doesn't ':=' have a lower precedence than ',' No it doesn't. Its precedence is between ',' and a single non-name expression, so you can effectively do this: \>>> (1, 2, a := 3, 4) (1, 2, 3, 4) \>>> a 3 _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/I3Z2LHVYJUWQF5FD45OBU4GR537KVNM6/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Re: Time to re... Valentin Berlier
- [Python-ideas] Re: Time ... Chris Angelico
- [Python-ideas] Re: T... Valentin Berlier
- [Python-ideas] Re: Time to relax some... MRAB
- [Python-ideas] Re: Time to relax ... Chris Angelico
- [Python-ideas] Re: Time to relax some res... Ethan Furman
- [Python-ideas] Re: Time to relax some... Paul Moore
- [Python-ideas] Re: Time to relax some res... Rob Cliffe via Python-ideas
- [Python-ideas] Re: Time to relax some restrict... MRAB
- [Python-ideas] Re: Time to relax some res... Steven D'Aprano
- [Python-ideas] Re: Time to relax some res... Jeremiah Vivian
- [Python-ideas] Re: Time to relax some restrict... Steven D'Aprano
- [Python-ideas] Re: Time to relax some res... Christopher Barker
- [Python-ideas] Re: Time to relax some res... Rob Cliffe via Python-ideas
- [Python-ideas] Re: Time to relax some restrict... Jeremiah Vivian
- [Python-ideas] Re: Time to relax some res... Chris Angelico
- [Python-ideas] Re: Time to relax some res... Matsuoka Takuo