On Fri, Mar 30, 2018 at 3:00 AM, Stephan Houben <stephan...@gmail.com> wrote:
> Perhaps one day we will be able to use
>
> ∅
>
> for the empty set.
> That would actually match conventional notation.
>

Maybe, but that symbol generally means the unique immutable empty set
in mathematics, so a closer equivalent would be frozenset(), in the
same way that () gives you a singleton immutable empty tuple. But yes,
I would like to some day have a literal for an empty set. Just not
"{}".

ChrisA
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to