summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-09-11 18:18:15 (GMT)
committerGitHub <noreply@github.com>2018-09-11 18:18:15 (GMT)
commit889f080a4d5cdb1cfb901b953f4b89f3ea806bbe (patch)
tree18263cf088425af8f4dbb8a9cca38e64c5b60354 /Doc/library
parented74a258aab2d5ca56a311acffdc7a46ca8ce2a1 (diff)
downloadcpython-889f080a4d5cdb1cfb901b953f4b89f3ea806bbe.zip
cpython-889f080a4d5cdb1cfb901b953f4b89f3ea806bbe.tar.gz
cpython-889f080a4d5cdb1cfb901b953f4b89f3ea806bbe.tar.bz2
bpo-28617 Fixed docs inaccuracies about the types that support membership tests (GH-9086)
<!-- issue-number: [bpo-28617](https://www.bugs.python.org/issue28617) --> https://bugs.python.org/issue28617 <!-- /issue-number --> (cherry picked from commit 08bcf647d8a92e4bd47531588b284c6820b7a7ef) Co-authored-by: wim glenn <wim.glenn@gmail.com>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 0172d34..6de7e1a 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -197,8 +197,8 @@ exception.
operator: not in
Two more operations with the same syntactic priority, :keyword:`in` and
-:keyword:`not in`, are supported only by sequence types (below).
-
+:keyword:`not in`, are supported by types that are :term:`iterable` or
+implement the :meth:`__contains__` method.
.. _typesnumeric: