Skip to content

Commit

Permalink
pythongh-120496: Add a note about iterator thread-safe (pythongh-120685)
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 authored and mrahtz committed Jun 30, 2024
1 parent e5e61ea commit 697fb0a
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 697fb0a

Please sign in to comment.