Skip to content

The docs for Py_GetVersion assumes minor version < 9 #92047

@jebob

Description

@jebob

Documentation

From https://docs.python.org/3.11/c-api/init.html?highlight=py_getversion#c.Py_GetVersion:

the first three characters are the major and minor version separated by a period.

Which is only true for single-digit minor version, this is untrue for Python 3.10+.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions