summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-09-12 00:24:05 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-09-12 00:24:05 (GMT)
commit0b51fd434156f19aaf9a34f273a55f62047dc1a6 (patch)
tree3a3bb28e1490e183ea4b1da4308bc481e4e23b1c /Doc
parentc4d2e500a9a3d0f33eda9ee0377ac6aec5f16b83 (diff)
parent06e18a7c2473e6d1e8be3dee5c9232ab934e1ef2 (diff)
downloadcpython-0b51fd434156f19aaf9a34f273a55f62047dc1a6.zip
cpython-0b51fd434156f19aaf9a34f273a55f62047dc1a6.tar.gz
cpython-0b51fd434156f19aaf9a34f273a55f62047dc1a6.tar.bz2
merge
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/expressions.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index eafd70a..08938b2 100644
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -1315,8 +1315,9 @@ Identity comparisons
--------------------
The operators :keyword:`is` and :keyword:`is not` test for object identity: ``x
-is y`` is true if and only if *x* and *y* are the same object. ``x is not y``
-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
+truth value. [#]_
.. _booleans: