Skip to content
Merged
Changes from 4 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
11 changes: 10 additions & 1 deletion Doc/library/functools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,22 @@
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 because locks are not held during the
function call.Potentially another call with the same arguments could occur
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a space after the period.

before the first call has returned.


<<<<<<< HEAD
=======

Check warning on line 66 in Doc/library/functools.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

Title underline too short.

Check warning on line 66 in Doc/library/functools.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

Title underline too short.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove conflict markers.


>>>>>>> ad161da7c8 (fixes)
.. versionadded:: 3.9


Expand Down
Loading