Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4d2e50 + 06e18a7 commit 0b51fd4Copy full SHA for 0b51fd4
1 file changed
Doc/reference/expressions.rst
@@ -1315,8 +1315,9 @@ Identity comparisons
1315
--------------------
1316
1317
The operators :keyword:`is` and :keyword:`is not` test for object identity: ``x
1318
-is y`` is true if and only if *x* and *y* are the same object. ``x is not y``
1319
-yields the inverse truth value. [#]_
+is y`` is true if and only if *x* and *y* are the same object. Object identity
+is determined using the :meth:`id` function. ``x is not y`` yields the inverse
1320
+truth value. [#]_
1321
1322
1323
.. _booleans:
0 commit comments