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 08bcf647d8
)
Co-authored-by: wim glenn <wim.glenn@gmail.com>
This commit is contained in:
parent
3235fac0d7
commit
3e648f8371
|
@ -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:
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Fixed info in the stdtypes docs concerning the types that support membership
|
||||
tests.
|
Loading…
Reference in New Issue