diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2015-02-20 04:15:36 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2015-02-20 04:15:36 (GMT) |
commit | 57c616f1e43f8c65a48fb6f1e85d040e8f929779 (patch) | |
tree | eee11cb4a2bdce8ea58c77b3d99830a36a9f3459 /Doc | |
parent | 500af332f407d9a83a0232e4018e10cb49a76a79 (diff) | |
download | cpython-57c616f1e43f8c65a48fb6f1e85d040e8f929779.zip cpython-57c616f1e43f8c65a48fb6f1e85d040e8f929779.tar.gz cpython-57c616f1e43f8c65a48fb6f1e85d040e8f929779.tar.bz2 |
Fix a typo pointed out on docs@
Diffstat (limited to 'Doc')
-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 d0682ca..1a5088a 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -1067,7 +1067,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``. |