]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (GH-92048) (#92329)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 6 May 2022 12:47:30 +0000 (05:47 -0700)
committerGitHub <noreply@github.com>
Fri, 6 May 2022 12:47:30 +0000 (14:47 +0200)
(cherry picked from commit 43b135f94ebf3e6e84ddb0f75ed8510b96a610e4)

Co-authored-by: Robert Howlett <robert@howletts.org.uk>
Co-authored-by: Robert Howlett <robert@howletts.org.uk>
Doc/c-api/init.rst

index 8f1382e008c1e04fbf7be9dc57b80ab322930ff3..06e886835dd5a4eefdde2e0824b61bf54a7d1d59 100644 (file)
@@ -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`.