Skip to content

The same note has been written twice. #162055

Description

@nybblista

Documentation

This note has been written twice, so I think there is a duplication here.

Since Python may define some pre-processor definitions which affect the standard
headers on some systems, you *must* include :file:`Python.h` before any standard
headers are included.

and

cpython/Doc/c-api/intro.rst

Lines 145 to 147 in 369d8bc

Since Python may define some pre-processor definitions which affect the standard
headers on some systems, you *must* include :file:`Python.h` before any standard
headers are included.

Linked PRs

Activity

  1. ZeroIntensity commented on Nov 16, 2026

    @ZeroIntensity
    Member

    @nybblista, did you want a chance to author the PR? It seems this got scalped by AI pretty quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions