[docs] [issue23677] Mention dict and set comps in library reference

Martin Panter report at bugs.python.org
Sun Jan 3 16:19:48 EST 2016


Martin Panter added the comment:

The distiction about non-empty sets is a bit misleading. You can create an empty set via comprehension:

>>> {x for x in ()}
set()

----------
nosy: +martin.panter

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23677>
_______________________________________


More information about the docs mailing list