diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2015-02-20 04:15:54 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2015-02-20 04:15:54 (GMT) |
commit | 4785f5e24930fa1cb9072c59d2963d148620127d (patch) | |
tree | 9d5cb964528419f148ff5bb3bdb410ad72557812 /Doc/reference/expressions.rst | |
parent | 869311dd97bff0b22689fcfe1b348bad6b1ab4e6 (diff) | |
parent | 57c616f1e43f8c65a48fb6f1e85d040e8f929779 (diff) | |
download | cpython-4785f5e24930fa1cb9072c59d2963d148620127d.zip cpython-4785f5e24930fa1cb9072c59d2963d148620127d.tar.gz cpython-4785f5e24930fa1cb9072c59d2963d148620127d.tar.bz2 |
Merge with 3.4
Diffstat (limited to 'Doc/reference/expressions.rst')
-rw-r--r-- | Doc/reference/expressions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 58d38ed..12f9f2f 100644 --- a/Doc/reference/expressions.rst +++ b/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``. |