From: Zachary Ware Date: Fri, 20 Feb 2015 04:15:36 +0000 (-0600) Subject: Fix a typo pointed out on docs@ X-Git-Tag: v3.5.0a2~118^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57c616f1e43f8c65a48fb6f1e85d040e8f929779;p=python Fix a typo pointed out on docs@ --- diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index d0682cae53..1a5088abbc 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``.