summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2023-05-03 12:29:42 (GMT)
committerGitHub <noreply@github.com>2023-05-03 12:29:42 (GMT)
commit328435ed42d9d2d0aab7024540c745e730b9b9b1 (patch)
tree551c6f909d78d66d0186bbdc3035d820a8175eeb /Doc/c-api
parent326997829d02458246dfd5b6d03297e2418bde52 (diff)
downloadcpython-328435ed42d9d2d0aab7024540c745e730b9b9b1.zip
cpython-328435ed42d9d2d0aab7024540c745e730b9b9b1.tar.gz
cpython-328435ed42d9d2d0aab7024540c745e730b9b9b1.tar.bz2
GH-98040: Suppress cross-references to the removed ``imp`` module (#104131)
Suppress cross-references to imp
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/import.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/import.rst b/Doc/c-api/import.rst
index 474a648..8e5af32 100644
--- a/Doc/c-api/import.rst
+++ b/Doc/c-api/import.rst
@@ -186,10 +186,10 @@ Importing Modules
.. versionadded:: 3.2
.. versionchanged:: 3.3
- Uses :func:`imp.source_from_cache()` in calculating the source path if
+ Uses :func:`!imp.source_from_cache()` in calculating the source path if
only the bytecode path is provided.
.. versionchanged:: 3.12
- No longer uses the removed ``imp`` module.
+ No longer uses the removed :mod:`!imp` module.
.. c:function:: long PyImport_GetMagicNumber()