Browse Source

Merge with 3.4

pull/9921/head
Zachary Ware 11 years ago
parent
commit
4785f5e249
  1. 2
      Doc/reference/expressions.rst

2
Doc/reference/expressions.rst

@ -1075,7 +1075,7 @@ Comparison of objects of the same type depends on the type:
* Numbers are compared arithmetically.
* The values :const:`float('NaN')` and :const:`Decimal('NaN')` are special.
The are identical to themselves, ``x is x`` but are not equal to themselves,
They are identical to themselves, ``x is x`` but are not equal to themselves,
``x != x``. Additionally, comparing any value to a not-a-number value
will return ``False``. For example, both ``3 < float('NaN')`` and
``float('NaN') < 3`` will return ``False``.

Loading…
Cancel
Save