Skip to content

Note denoting where macros are defined in "API and ABI Versioning" docs was removed accidentally #143578

@dkogan

Description

@dkogan

Hello. In 3.13, this doc page: https://docs.python.org/3.13/c-api/apiabiversion.html said this at the end: All the given macros are defined in Include/patchlevel.h

In 3.14, this note was removed: https://docs.python.org/3.14/c-api/apiabiversion.html

The commit that removed this makes it look like an accident: 1439b81

That note was present for a long time. If #include <patchlevel.h> is no longer suggested to get the versions, those docs should mention it. If it is still suggested, the note should be put back.

Thanks.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixes3.15new features, bugs and security fixesdocsDocumentation in the Doc dirtopic-C-API

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions