Skip to content

Commit 11b6f07

Browse files
committed
update refs
1 parent 1a68caa commit 11b6f07

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Doc/whatsnew/2.6.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3043,7 +3043,7 @@ Changes to Python's build process and to the C API include:
30433043

30443044
* Importing modules simultaneously in two different threads no longer
30453045
deadlocks; it will now raise an :exc:`ImportError`. A new API
3046-
function, :c:func:`PyImport_ImportModuleNoBlock`, will look for a
3046+
function, :c:func:`!PyImport_ImportModuleNoBlock`, will look for a
30473047
module in ``sys.modules`` first, then try to import it after
30483048
acquiring an import lock. If the import lock is held by another
30493049
thread, an :exc:`ImportError` is raised.

Doc/whatsnew/3.0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ to the C API.
870870
* :c:func:`!PyNumber_Coerce`, :c:func:`!PyNumber_CoerceEx`,
871871
:c:func:`!PyMember_Get`, and :c:func:`!PyMember_Set` C APIs are removed.
872872

873-
* New C API :c:func:`PyImport_ImportModuleNoBlock`, works like
873+
* New C API :c:func:`!PyImport_ImportModuleNoBlock`, works like
874874
:c:func:`PyImport_ImportModule` but won't block on the import lock
875875
(returning an error instead).
876876

Doc/whatsnew/3.13.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2499,7 +2499,7 @@ Deprecated C APIs
24992499
which return a :term:`borrowed reference`.
25002500
(Soft deprecated as part of :pep:`667`.)
25012501

2502-
* Deprecate the :c:func:`PyImport_ImportModuleNoBlock` function,
2502+
* Deprecate the :c:func:`!PyImport_ImportModuleNoBlock` function,
25032503
which is just an alias to :c:func:`PyImport_ImportModule` since Python 3.3.
25042504
(Contributed by Victor Stinner in :gh:`105396`.)
25052505

Doc/whatsnew/3.3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ Previous versions of CPython have always relied on a global import lock.
829829
This led to unexpected annoyances, such as deadlocks when importing a module
830830
would trigger code execution in a different thread as a side-effect.
831831
Clumsy workarounds were sometimes employed, such as the
832-
:c:func:`PyImport_ImportModuleNoBlock` C API function.
832+
:c:func:`!PyImport_ImportModuleNoBlock` C API function.
833833

834834
In Python 3.3, importing a module takes a per-module lock. This correctly
835835
serializes importation of a given module from multiple threads (preventing

Misc/NEWS.d/3.11.0a4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ no-op now.
11611161
.. nonce: Lq2_gR
11621162
.. section: C API
11631163
1164-
Replaced deprecated usage of :c:func:`PyImport_ImportModuleNoBlock` with
1164+
Replaced deprecated usage of :c:func:`!PyImport_ImportModuleNoBlock` with
11651165
:c:func:`PyImport_ImportModule` in stdlib modules. Patch by Kumar Aditya.
11661166

11671167
..

Misc/NEWS.d/3.13.0a1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6538,7 +6538,7 @@ to hide implementation details. Patch by Victor Stinner.
65386538
.. nonce: FQJG5B
65396539
.. section: C API
65406540
6541-
Deprecate the :c:func:`PyImport_ImportModuleNoBlock` function which is just
6541+
Deprecate the :c:func:`!PyImport_ImportModuleNoBlock` function which is just
65426542
an alias to :c:func:`PyImport_ImportModule` since Python 3.3. Patch by
65436543
Victor Stinner.
65446544

0 commit comments

Comments
 (0)