[Python-checkins] GH-100894: Updated the doc for `sys.winver` to clarify its usual contents (GH-100913)

miss-islington webhook-mailer at python.org
Wed Jan 11 19:21:13 EST 2023


https://github.com/python/cpython/commit/e8097d49f64e47f0ad7568e7181e6e2c466b6964
commit: e8097d49f64e47f0ad7568e7181e6e2c466b6964
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-01-11T16:21:07-08:00
summary:

GH-100894: Updated the doc for `sys.winver` to clarify its usual contents (GH-100913)

(cherry picked from commit d9dff4c8b5ab41c47af002ad7fb083c953e75f31)

Co-authored-by: ram vikram singh <ramvikrams243 at gmail.com>

files:
M Doc/library/sys.rst

diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 5da5ffa07012..b458040c876b 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -1805,7 +1805,7 @@ always available.
 
    The version number used to form registry keys on Windows platforms. This is
    stored as string resource 1000 in the Python DLL.  The value is normally the
-   first three characters of :const:`version`.  It is provided in the :mod:`sys`
+   major and minor versions of the running Python interpreter.  It is provided in the :mod:`sys`
    module for informational purposes; modifying this value has no effect on the
    registry keys used by Python.
 



More information about the Python-checkins mailing list