[docs] [issue26020] set_display evaluation order doesn't match documented behaviour

Hamish Campbell report at bugs.python.org
Tue Jan 5 21:54:07 EST 2016


Hamish Campbell added the comment:

Note also the differences here:

   >>> print(set([True, 1]))
   {True}
   >>> print({True, 1})
   {1}
   >>> print({x for x in [True, 1]})
   {True}

----------

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


More information about the docs mailing list