Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-120496: Add a note about iterator thread-safe (gh-120685)
(cherry picked from commit 7e189ae)

Co-authored-by: Donghee Na <donghee.na@python.org>
  • Loading branch information
corona10 authored and miss-islington committed Jun 18, 2024
commit 670478951d74ac8f5b231ebb47eeee9952dfadec
3 changes: 3 additions & 0 deletions Doc/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down