gh-101100: Fix some broken sphinx references (#107095)

This commit is contained in:
wulmer 2023-07-23 11:23:44 +02:00 committed by GitHub
parent dcd7acb04a
commit f5147c0cfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 27 additions and 34 deletions

View file

@ -150,8 +150,8 @@ This module defines the following constants and functions:
.. data:: TIMEOUT_MAX
The maximum value allowed for the *timeout* parameter of
:meth:`Lock.acquire`. Specifying a timeout greater than this value will
raise an :exc:`OverflowError`.
:meth:`Lock.acquire <threading.Lock.acquire>`. Specifying a timeout greater
than this value will raise an :exc:`OverflowError`.
.. versionadded:: 3.2
@ -217,8 +217,9 @@ In addition to these methods, lock objects can also be used via the
* Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is
equivalent to calling :func:`_thread.exit`.
* It is not possible to interrupt the :meth:`acquire` method on a lock --- the
:exc:`KeyboardInterrupt` exception will happen after the lock has been acquired.
* It is not possible to interrupt the :meth:`~threading.Lock.acquire` method on
a lock --- the :exc:`KeyboardInterrupt` exception will happen after the lock
has been acquired.
* When the main thread exits, it is system defined whether the other threads
survive. On most systems, they are killed without executing