8000 Update documentation for `sys.winver` to not say it's "normally the first three characters of version" · Issue #100894 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Update documentation for sys.winver to not say it's "normally the first three characters of version" #100894
Closed
@brettcannon

Description

< 695B div class="Box-sc-g0xbh4-0 crMLA-D">
@brettcannon

Documentation

https://docs.python.org/3/library/sys.html#sys.winver says:

The value is normally the first three characters of version.

That has not been true since Python 3.11. It should probably be updated to say something like, "The value is normally the major and minor versions of the running Python interpreter," or something along those lines.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsdocsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0