# PEP 802: Display Syntax for the Empty Set

**URL:** <https://discuss.python.org/t/pep-802-display-syntax-for-the-empty-set/101676>\
**Category:** PEPs\
**Created:** [August 8, 2025, 2:49pm UTC](https://discuss.python.org/t/pep-802-display-syntax-for-the-empty-set/101676 "2025-08-08T14:49:12Z")\
**Posts on this page:** 1\
**Showing post:** 128

<div class="post-metadata">

**Author:** ![dg-pb](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/dg-pb/32/16248_2.png) [@dg-pb](https://discuss.python.org/u/dg-pb)\
**Post date:** [August 14, 2025, 12:12am UTC](https://discuss.python.org/t/pep-802-display-syntax-for-the-empty-set/101676/128 "2025-08-14T00:12:31Z")

</div>

> [@tjreedy](#):
>
> Then `{-}` for a set.

That is θ, not ∅. ☹

> [@AlSweigart](#):
>
> The lack of syntax for an empty frozenset is a noticeable absence for me, so I’d rather not kick the can down the road.

Given there is already not enough syntax for `frozenset`, what is there left for `frozendict` ?

* * *

Have the same concern.

Thus, created [`frozenset`, `frozendict` comprehensions. Consideration](https://discuss.python.org/t/frozenset-frozendict-comprehensions-consideration/101584) .

Or if TLTR, it is essentially:

> [@Dutcho](#):
>
> mapping set  
> mutable {} {/}  
> frozen f{} f{/}

Which is at worst the fallback solution if there actually is not enough syntax.

And in the best case ends up something that is actually ok, given not needing to venture into `{{...}}` and its various complications.

I doubt this would be the best path if all 6 were being designed at the same time from the start, but it gives me peace of mind as such fallback is not too bad.

* * *

I don’t mind `{/}` (voted for it) and I would be pleased if it turns out to fit well.

But given the above, I think it would be sensible not to rush with this and see what happens with `frozenset` and `frozendict` and try to manage this in parallel.

---

_[View the full topic](https://discuss.python.org/t/pep-802-display-syntax-for-the-empty-set/101676)._
