summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-07 09:13:03 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-07 09:13:03 (GMT)
commitfd855164d0ab32bec205696ea46bdc63f3c23c57 (patch)
treefa9e8d5a66d2188a66edf3448794f31f399bf37a
parentad433db9b40a8ca829dae35cf835386629ec0399 (diff)
downloadcpython-fd855164d0ab32bec205696ea46bdc63f3c23c57.zip
cpython-fd855164d0ab32bec205696ea46bdc63f3c23c57.tar.gz
cpython-fd855164d0ab32bec205696ea46bdc63f3c23c57.tar.bz2
Remove obsolete note.
-rw-r--r--Doc/library/stdtypes.rst56
1 files changed, 19 insertions, 37 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 8e81db8..f1c4101 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -141,43 +141,25 @@ evaluated at all when ``x < y`` is found to be false).
This table summarizes the comparison operations:
-+------------+-------------------------+-------+
-| Operation | Meaning | Notes |
-+============+=========================+=======+
-| ``<`` | strictly less than | |
-+------------+-------------------------+-------+
-| ``<=`` | less than or equal | |
-+------------+-------------------------+-------+
-| ``>`` | strictly greater than | |
-+------------+-------------------------+-------+
-| ``>=`` | greater than or equal | |
-+------------+-------------------------+-------+
-| ``==`` | equal | |
-+------------+-------------------------+-------+
-| ``!=`` | not equal | |
-+------------+-------------------------+-------+
-| ``is`` | object identity | |
-+------------+-------------------------+-------+
-| ``is not`` | negated object identity | |
-+------------+-------------------------+-------+
-
-.. index::
- pair: operator; comparison
- operator: ==
- operator: <
- operator: <=
- operator: >
- operator: >=
- operator: !=
- operator: is
- operator: is not
-
-Notes:
-
-(1)
- ``!=`` can also be written ``<>``, but this is an obsolete usage
- kept for backwards compatibility only. New code should always use
- ``!=``.
++------------+-------------------------+
+| Operation | Meaning |
++============+=========================+
+| ``<`` | strictly less than |
++------------+-------------------------+
+| ``<=`` | less than or equal |
++------------+-------------------------+
+| ``>`` | strictly greater than |
++------------+-------------------------+
+| ``>=`` | greater than or equal |
++------------+-------------------------+
+| ``==`` | equal |
++------------+-------------------------+
+| ``!=`` | not equal |
++------------+-------------------------+
+| ``is`` | object identity |
++------------+-------------------------+
+| ``is not`` | negated object identity |
++------------+-------------------------+
.. index::
pair: object; numeric