Skip to content

Commit 7da3d14

Browse files
committed
pythongh-120496: Add a note about iterator thread-safe
1 parent 5c58e72 commit 7da3d14

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: Doc/glossary.rst

+5
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,11 @@ Glossary
695695
CPython does not consistently apply the requirement that an iterator
696696
define :meth:`~iterator.__iter__`.
697697

698+
.. _free-threading-build::
699+
700+
Free-threading CPython does not guarantee the thread-safe.
701+
702+
698703
key function
699704
A key function or collation function is a callable that returns a value
700705
used for sorting or ordering. For example, :func:`locale.strxfrm` is

0 commit comments

Comments
 (0)