had not thought of that. That actually does work. :)

I would say that means there is no need for a new feature, but would it make 
sense for this idiom to be documented in a PEP or some other easily 
discoverable place?
_______________________________________________
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/UXNSPY5DSPTJK2RLTSBFH42CCRTRLLEI/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to