Skip to content
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 26, 2023
commit 90b3559d90cbdcb7a605d7dc6bbeb7a0805a8de8
5 changes: 3 additions & 2 deletions Doc/library/threading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,9 @@ call release as many times the lock has been acquired can lead to deadlock.

.. seealso::

:ref:`Using RLock as a context manager <with-locks>` is recommended
over manual :meth:`!acquire` and :meth:`release` calls whenever practical.
:ref:`Using RLock as a context manager <with-locks>`
Recommended over manual :meth:`!acquire` and :meth:`release` calls
whenever practical.


When invoked with the *blocking* argument set to ``True`` (the default):
Expand Down