Eric V. Smith <[email protected]> added the comment:
Jelle gives the correct reason for what you're seeing.
Also note:
>>> math.nan == math.nan
False
>>> float('nan') == float('nan')
False
If there's some specific part of the documentation that you think is
misleading, please reopen this and point us to the wording that's confusing.
----------
nosy: +eric.smith
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue47020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com