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 -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/N25557VOSDBH7KEWZQBY2BWHCK4SA22B/
Code of Conduct: http://python.org/psf/codeofconduct/