diff -r 867c509c8c5e Doc/reference/expressions.rst --- a/Doc/reference/expressions.rst Thu Apr 16 11:56:35 2015 +0300 +++ b/Doc/reference/expressions.rst Fri Apr 17 12:59:38 2015 -0400 @@ -1153,7 +1153,7 @@ dictionaries (for keys) and sets support membership testing. For the list and tuple types, ``x in y`` is true if and only if there exists an -index *i* such that ``x == y[i]`` is true. +index *i* such that either ``x == y[i]`` or ``x is y[i]`` is true. For the Unicode and string types, ``x in y`` is true if and only if *x* is a substring of *y*. An equivalent test is ``y.find(x) != -1``. Note, *x* and *y*