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

Skip to content

Commit 0b51fd4

Browse files
committed
merge
2 parents c4d2e50 + 06e18a7 commit 0b51fd4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/reference/expressions.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,8 +1315,9 @@ Identity comparisons
13151315
--------------------
13161316

13171317
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. [#]_
1318+
is y`` is true if and only if *x* and *y* are the same object. Object identity
1319+
is determined using the :meth:`id` function. ``x is not y`` yields the inverse
1320+
truth value. [#]_
13201321

13211322

13221323
.. _booleans:

0 commit comments

Comments
 (0)