diff options
author | wim glenn <wim.glenn@gmail.com> | 2018-09-11 17:44:52 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-09-11 17:44:52 (GMT) |
commit | 08bcf647d8a92e4bd47531588b284c6820b7a7ef (patch) | |
tree | 9ff7776e7f0a64075048c909627490750ea1d1f4 /Doc | |
parent | b690b9b04729ba3d91c59bff1bb11c3dcc1b50fc (diff) | |
download | cpython-08bcf647d8a92e4bd47531588b284c6820b7a7ef.zip cpython-08bcf647d8a92e4bd47531588b284c6820b7a7ef.tar.gz cpython-08bcf647d8a92e4bd47531588b284c6820b7a7ef.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 -->
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/stdtypes.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 87c6421..f7f59cd 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: |