[New-bugs-announce] [issue28955] Not matched behavior of numeric comparison with the documentation

woo yoo report at bugs.python.org
Mon Dec 12 23:09:31 EST 2016


New submission from woo yoo:

According to the documentation, which said "Additionally, comparing any number to a not-a-number value will return False. ",the comparison of `float('nan')!= 1`should yield False, while the result is True.

Small errors like this in documentation should be corrected?

The related link https://docs.python.org/3/reference/expressions.html#value-comparisons

----------
assignee: docs at python
components: Documentation
messages: 283069
nosy: docs at python, woo yoo
priority: normal
severity: normal
status: open
title: Not matched behavior of numeric comparison with the documentation
type: behavior
versions: Python 3.5

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


More information about the New-bugs-announce mailing list