summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-05-06 12:47:09 (GMT)
committerGitHub <noreply@github.com>2022-05-06 12:47:09 (GMT)
commit229dc17f7a05c87e8b00c6882476fc4c076f9779 (patch)
treef4c4bde744364e03c202f31585ae3a3656c6cfea /Doc
parentb5f5993dfe1c9e5dc48e3e514f282464da9fb4a3 (diff)
downloadcpython-229dc17f7a05c87e8b00c6882476fc4c076f9779.zip
cpython-229dc17f7a05c87e8b00c6882476fc4c076f9779.tar.gz
cpython-229dc17f7a05c87e8b00c6882476fc4c076f9779.tar.bz2
gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (GH-92048) (#92330)
(cherry picked from commit 43b135f94ebf3e6e84ddb0f75ed8510b96a610e4) Co-authored-by: Robert Howlett <robert@howletts.org.uk> Co-authored-by: Robert Howlett <robert@howletts.org.uk>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/init.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index a522790..a44442a 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`.