From afb2f52894dd301a1b43730ed6eba5aa36cbc0fb Mon Sep 17 00:00:00 2001 From: Robert Howlett Date: Thu, 5 May 2022 10:33:35 +0100 Subject: [PATCH] gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (GH-92048) (cherry picked from commit 43b135f94ebf3e6e84ddb0f75ed8510b96a610e4) Co-authored-by: Robert Howlett --- Doc/c-api/init.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index a5227904460017..a44442a5015550 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -529,7 +529,7 @@ Process-wide parameters .. index:: single: version (in module sys) The first word (up to the first space character) is the current Python version; - the first three characters are the major and minor version separated by a + the first characters are the major and minor version separated by a 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`.