On 2022-01-17 06:07, Greg Ewing wrote:
U+2744 Snowflake, anyone?
my_frozenset = ❄{1, 2, 3}
That makes me think about using '@':
my_frozenset = @{1, 2, 3}
It's currently used as a prefix for decorators, but that's at the start
of a line.
It could be a problem for the REPL, though:
>>> @{1, 2, 3}
Looks like a decorator there, but you could parenthesise it in that case:
>>> (@{1, 2, 3})
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/AVVD6YWOEKOOJWB53UAQJZCQSMXAM3AG/
Code of Conduct: http://python.org/psf/codeofconduct/