Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd85516

Browse files
committed
Remove obsolete note.
1 parent ad433db commit fd85516

1 file changed

Lines changed: 19 additions & 37 deletions

File tree

Doc/library/stdtypes.rst

Lines changed: 19 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -141,43 +141,25 @@ evaluated at all when ``x < y`` is found to be false).
141141

142142
This table summarizes the comparison operations:
143143

144-
+------------+-------------------------+-------+
145-
| Operation | Meaning | Notes |
146-
+============+=========================+=======+
147-
| ``<`` | strictly less than | |
148-
+------------+-------------------------+-------+
149-
| ``<=`` | less than or equal | |
150-
+------------+-------------------------+-------+
151-
| ``>`` | strictly greater than | |
152-
+------------+-------------------------+-------+
153-
| ``>=`` | greater than or equal | |
154-
+------------+-------------------------+-------+
155-
| ``==`` | equal | |
156-
+------------+-------------------------+-------+
157-
| ``!=`` | not equal | |
158-
+------------+-------------------------+-------+
159-
| ``is`` | object identity | |
160-
+------------+-------------------------+-------+
161-
| ``is not`` | negated object identity | |
162-
+------------+-------------------------+-------+
163-
164-
.. index::
165-
pair: operator; comparison
166-
operator: ==
167-
operator: <
168-
operator: <=
169-
operator: >
170-
operator: >=
171-
operator: !=
172-
operator: is
173-
operator: is not
174-
175-
Notes:
176-
177-
(1)
178-
``!=`` can also be written ``<>``, but this is an obsolete usage
179-
kept for backwards compatibility only. New code should always use
180-
``!=``.
144+
+------------+-------------------------+
145+
| Operation | Meaning |
146+
+============+=========================+
147+
| ``<`` | strictly less than |
148+
+------------+-------------------------+
149+
| ``<=`` | less than or equal |
150+
+------------+-------------------------+
151+
| ``>`` | strictly greater than |
152+
+------------+-------------------------+
153+
| ``>=`` | greater than or equal |
154+
+------------+-------------------------+
155+
| ``==`` | equal |
156+
+------------+-------------------------+
157+
| ``!=`` | not equal |
158+
+------------+-------------------------+
159+
| ``is`` | object identity |
160+
+------------+-------------------------+
161+
| ``is not`` | negated object identity |
162+
+------------+-------------------------+
181163

182164
.. index::
183165
pair: object; numeric

0 commit comments

Comments
 (0)