[Python-checkins] gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (GH-92048) (#92329)

vstinner webhook-mailer at python.org
Fri May 6 08:47:40 EDT 2022


https://github.com/python/cpython/commit/326f6ed05914c692648d6d45f43a935b82ef7e38
commit: 326f6ed05914c692648d6d45f43a935b82ef7e38
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: vstinner <vstinner at python.org>
date: 2022-05-06T14:47:30+02:00
summary:

gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (GH-92048) (#92329)

(cherry picked from commit 43b135f94ebf3e6e84ddb0f75ed8510b96a610e4)

Co-authored-by: Robert Howlett <robert at howletts.org.uk>

Co-authored-by: Robert Howlett <robert at howletts.org.uk>

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

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 8f1382e008c1e..06e886835dd5a 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -498,7 +498,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`.
 



More information about the Python-checkins mailing list