PEP 802: Display Syntax for the Empty Set

Every attempt to introduce a new syntax for empty set should show why it is better than {*()} (or {*[]}, or {*{}} if you prefer). The latter works in all maintained versions. It is not widely used because set() is good enough. There is no problem that the new syntax would solve, but {*()} would not.

26 Likes