GH-97850: Suppress cross-references to the removed `module_repr` method (#104133)

Suppress cross-references to ``module_repr``
This commit is contained in:
Adam Turner 2023-05-03 13:57:23 +01:00 committed by GitHub
parent 328435ed42
commit 8b03e5ff94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View file

@ -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.