mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-120496: Add a note about iterator thread-safe (gh-120685)
This commit is contained in:
parent
1035fe0cfb
commit
7e189aed64
1 changed files with 3 additions and 0 deletions
|
|
@ -694,6 +694,9 @@ Glossary
|
|||
|
||||
CPython does not consistently apply the requirement that an iterator
|
||||
define :meth:`~iterator.__iter__`.
|
||||
And also please note that the free-threading CPython does not guarantee
|
||||
the thread-safety of iterator operations.
|
||||
|
||||
|
||||
key function
|
||||
A key function or collation function is a callable that returns a value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue