14.03.22 15:07, Joao S. O. Bueno пише:
- but what about keeping what exists and adding {,} for an empty set? (it is not that unlike the one-element tuple, which already exists)
If you want to create an empty set without using any identifier, use {*()}. The advantage is that it works in old Python versions.
_______________________________________________ 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/N25557VOSDBH7KEWZQBY2BWHCK4SA22B/ Code of Conduct: http://python.org/psf/codeofconduct/