Skip to content
Merged
Prev Previous commit
Next Next commit
Double backticks for with
  • Loading branch information
samatjain committed Apr 25, 2023
commit cc594c1d4503ac13082db94f085a2c71ad50d24e
2 changes: 1 addition & 1 deletion Doc/library/threading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ no thread owns it.

To lock the lock, a thread calls its :meth:`~RLock.acquire` method. To unlock
Comment thread
samatjain marked this conversation as resolved.
Outdated
the lock, a thread calls its :meth:`~Lock.release` method. Reentrant locks
support the :ref:`context management protocol <with-locks>` so `with` can be used.
support the :ref:`context management protocol <with-locks>` so ```with``` can be used.
Comment thread
samatjain marked this conversation as resolved.
Outdated

RLock's :meth:`~RLock.acquire`/:meth:`~RLock.release` call pairs may be nested,
unlike Lock's :meth:`~Lock.acquire`/:meth:`~Lock.release`. Only the final
Expand Down