[Python-checkins] gh-88097: doc: fix link to Py_Version (#92141)

vstinner webhook-mailer at python.org
Mon May 2 09:29:34 EDT 2022


https://github.com/python/cpython/commit/6811bdef63d4f3af6ff901d324556cf8954575a7
commit: 6811bdef63d4f3af6ff901d324556cf8954575a7
branch: main
author: Victor Stinner <vstinner at python.org>
committer: vstinner <vstinner at python.org>
date: 2022-05-02T15:29:22+02:00
summary:

gh-88097: doc: fix link to Py_Version (#92141)

files:
M Doc/c-api/init.rst

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 9d38fb47d10d6..d9a7d8e44e196 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -553,7 +553,7 @@ Process-wide parameters
    period.  The returned string points into static storage; the caller should not
    modify its value.  The value is available to Python code as :data:`sys.version`.
 
-   See also the :data:`Py_Version` constant.
+   See also the :c:var:`Py_Version` constant.
 
 
 .. c:function:: const char* Py_GetPlatform()



More information about the Python-checkins mailing list