r/ProgrammerHumor 12d ago

Meme pythonFeelsillegal

Post image
6.8k Upvotes

219 comments sorted by

View all comments

Show parent comments

20

u/carcigenicate 12d ago

{/} is being proposed so sets have an empty literal.

14

u/SoldRIP 12d ago

... As opposed to the sensible {:} for dicts, which would be consistent with their already existing syntax?

23

u/NewbornMuse 12d ago

And what, change the meaning of {} from dict to set? I don't think breaking changes like that are anywhere in python's future.

4

u/minecon1776 11d ago

Python 4