Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-70795: Rework RLock documentation #103853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
May 22, 2024
Merged
Prev Previous commit
Next Next commit
Update Doc/library/threading.rst
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
samatjain and CAM-Gerlach authored Apr 25, 2023
commit adc0823aa391a9f30c2403a4cd71785f9c15100d
2 changes: 1 addition & 1 deletion 2 Doc/library/threading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ release as many times the lock has required will lead to deadlock.
is reached timeout) return ``False``.
samatjain marked this conversation as resolved.
Show resolved Hide resolved
samatjain marked this conversation as resolved.
Show resolved Hide resolved

If called multiple times, failing to call :meth:`~RLock.release` as many times
may lead to deadlock. Consider using ``RLock`` as a context manager rather than
may lead to deadlock. Consider using :class:`!RLock` as a context manager rather than
calling acquire/release directly.

.. versionchanged:: 3.2
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.