[docs] [issue30803] Truth value of sets not properly documented

Peter Thomassen report at bugs.python.org
Thu Jul 13 21:13:23 EDT 2017


Peter Thomassen added the comment:

I like your most recent suggestion, and updated the PR after fixing a typo ('Fractions') and making it more complete (complex numbers).

Let me know if anything else is needed.

(A mapping is not a specialized set, at least as far as typing is concerned: `isinstance({}, set)` is false. Semantically, they may be related, but the question here is whether the types are actually related.)

----------

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


More information about the docs mailing list