Skip to content

Commit 8f93dd2

Browse files
committed
Fix ReST role
1 parent 59d07fa commit 8f93dd2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/library/exceptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ The following exceptions are the exceptions that are usually raised.
430430
* Creating a new Python thread.
431431
* :meth:`Joining <threading.Thread.join>` a running daemon thread.
432432
* :func:`os.fork`,
433-
* acquiring a lock such as :cls:`threading.Lock`, when it is known that
433+
* acquiring a lock such as :class:`threading.Lock`, when it is known that
434434
the operation would otherwise deadlock.
435435

436436
See also the :func:`sys.is_finalizing` function.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Acquiring a :cls:`threading.Lock` or :cls:`threading.RLock` at interpreter
1+
Acquiring a :class:`threading.Lock` or :class:`threading.RLock` at interpreter
22
shutdown will raise :exc:`PythonFinalizationError` if Python can determine
33
that it would otherwise deadlock.

0 commit comments

Comments
 (0)