diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-26 16:59:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 16:59:06 (GMT) |
commit | 87b39028e5f453a949a1675526c439f6479a04a8 (patch) | |
tree | 9fffc46d231914c9f3fe91678f25032e7337e735 /Doc/c-api/typeobj.rst | |
parent | b1de3807b832b72dfeb66dd5646159d08d2cc74a (diff) | |
download | cpython-87b39028e5f453a949a1675526c439f6479a04a8.zip cpython-87b39028e5f453a949a1675526c439f6479a04a8.tar.gz cpython-87b39028e5f453a949a1675526c439f6479a04a8.tar.bz2 |
gh-107298: Fix doc references to undocumented modules (#107300)
Update also Doc/tools/.nitignore.
Diffstat (limited to 'Doc/c-api/typeobj.rst')
-rw-r--r-- | Doc/c-api/typeobj.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 9aa076b..c0f0d78 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -579,7 +579,7 @@ and :c:type:`PyType_Type` effectively act as defaults.) name, followed by a dot, followed by the type name; for built-in types, it should be just the type name. If the module is a submodule of a package, the full package name is part of the full module name. For example, a type named - :class:`T` defined in module :mod:`M` in subpackage :mod:`Q` in package :mod:`P` + :class:`T` defined in module :mod:`!M` in subpackage :mod:`!Q` in package :mod:`!P` should have the :c:member:`~PyTypeObject.tp_name` initializer ``"P.Q.M.T"``. For :ref:`dynamically allocated type objects <heap-types>`, |