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

zooba webhook-mailer at python.org
Wed Jan 11 19:11:17 EST 2023


https://github.com/python/cpython/commit/d9dff4c8b5ab41c47af002ad7fb083c953e75f31
commit: d9dff4c8b5ab41c47af002ad7fb083c953e75f31
branch: main
author: ram vikram singh <ramvikrams243 at gmail.com>
committer: zooba <steve.dower at microsoft.com>
date: 2023-01-12T00:11:12Z
summary:

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

files:
M Doc/library/sys.rst

diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 428ce51165c9..28adca1f618d 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -1843,7 +1843,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