summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2023-05-03 12:57:23 (GMT)
committerGitHub <noreply@github.com>2023-05-03 12:57:23 (GMT)
commit8b03e5ff94d494109a84a106c1471175d42dd8fe (patch)
tree71f6bbac95ea664bc709ce29986e4e690e2e9da3 /Doc/reference
parent328435ed42d9d2d0aab7024540c745e730b9b9b1 (diff)
downloadcpython-8b03e5ff94d494109a84a106c1471175d42dd8fe.zip
cpython-8b03e5ff94d494109a84a106c1471175d42dd8fe.tar.gz
cpython-8b03e5ff94d494109a84a106c1471175d42dd8fe.tar.bz2
GH-97850: Suppress cross-references to the removed ``module_repr`` method (#104133)
Suppress cross-references to ``module_repr``
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/import.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
index 8f30181..0f416a5 100644
--- a/Doc/reference/import.rst
+++ b/Doc/reference/import.rst
@@ -706,7 +706,7 @@ Here are the exact rules used:
* Otherwise, just use the module's ``__name__`` in the repr.
.. versionchanged:: 3.12
- Use of :meth:`module_repr`, having been deprecated since Python 3.4, was
+ Use of :meth:`!module_repr`, having been deprecated since Python 3.4, was
removed in Python 3.12 and is no longer called during the resolution of a
module's repr.