Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Replace _thread._local with thread.local.
  • Loading branch information
nascheme committed Dec 30, 2025
commit ffc08a2df4a66490cfc502061c3dc70b6da9fd75
2 changes: 1 addition & 1 deletion Doc/howto/free-threading-python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ following types:
* module top-level functions
* class methods defined in the class scope
* descriptor objects
* thread-local objects, created by :class:`_thread._local`
* thread-local objects, created by :class:`thread.local`

When deferred reference counting is enabled, references from Python function
stacks are not added to the reference count. This scheme reduces the overhead
Expand Down