Skip to content
Merged
Changes from 2 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
5 changes: 4 additions & 1 deletion Doc/library/functools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,16 @@ The :mod:`functools` module defines the following functions:
479001600

The cache is threadsafe so that the wrapped function can be used in
multiple threads. This means that the underlying data structure will
multiple threads. This means that the underlying data structure will
remain coherent during concurrent updates.

It is possible for the wrapped function to be called more than once if
another thread makes an additional call before the initial call has been
completed and cached.

Call-once behavior is not guaranteed: no locks are held during the function
call, so the same key may be computed multiple times concurrently.

.. versionadded:: 3.9


Expand Down
Loading