mirror of
https://github.com/python/cpython
synced 2024-09-16 00:17:02 +00:00
gh-120496: Add a note about iterator thread-safe (gh-120685)
This commit is contained in:
parent
1035fe0cfb
commit
7e189aed64
|
@ -694,6 +694,9 @@ Glossary
|
||||||
|
|
||||||
CPython does not consistently apply the requirement that an iterator
|
CPython does not consistently apply the requirement that an iterator
|
||||||
define :meth:`~iterator.__iter__`.
|
define :meth:`~iterator.__iter__`.
|
||||||
|
And also please note that the free-threading CPython does not guarantee
|
||||||
|
the thread-safety of iterator operations.
|
||||||
|
|
||||||
|
|
||||||
key function
|
key function
|
||||||
A key function or collation function is a callable that returns a value
|
A key function or collation function is a callable that returns a value
|
||||||
|
|
Loading…
Reference in a new issue