[docs] [issue28955] Not matched behavior of numeric comparison with the documentation
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
nosy: docs at python, woo yoo
title: Not matched behavior of numeric comparison with the documentation
versions: Python 3.5
Python tracker <report at bugs.python.org>
More information about the docs