[Python-checkins] cpython (merge 3.5 -> default): merge

raymond.hettinger python-checkins at python.org
Sun Sep 11 20:24:10 EDT 2016


https://hg.python.org/cpython/rev/130df8dd5984
changeset:   103670:130df8dd5984
parent:      103668:301a847890a3
parent:      103669:f38b831cb6b9
user:        Raymond Hettinger <python at rcn.com>
date:        Sun Sep 11 17:24:05 2016 -0700
summary:
  merge

files:
  Doc/reference/expressions.rst |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -1315,8 +1315,9 @@
 --------------------
 
 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:

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list