From: Robert Howlett Date: Thu, 5 May 2022 09:33:35 +0000 (+0100) Subject: gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (#92048) X-Git-Tag: v3.11.0b1~44 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43b135f94ebf3e6e84ddb0f75ed8510b96a610e4;p=thirdparty%2FPython%2Fcpython.git gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (#92048) --- diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index d9a7d8e44e19..c17379c52ab7 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -549,7 +549,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`.