[Python-ideas] Empty set, Empty dict
Neil Girdhar
mistersheik at gmail.com
Tue Jun 10 08:15:45 CEST 2014
I've seen this proposed before, and I personally would love this, but my
guess is that it breaks too much code for too little gain.
On Wednesday, May 21, 2014 12:33:30 PM UTC-4, Frédéric Legembre wrote:
>
>
> Now | Future |
> ----------------------------------------------------
> () | () | empty tuple ( 1, 2, 3 )
> [] | [] | empty list [ 1, 2, 3 ]
> set() | {} | empty set { 1, 2, 3 }
> {} | {:} | empty dict { 1:a, 2:b, 3:c }
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140609/7dacadf6/attachment.html>
More information about the Python-ideas
mailing list