File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -77,11 +77,9 @@ the module and a copyright notice if you like).
7777All user-visible symbols defined by :file: `Python.h ` have a prefix of ``Py `` or
7878``PY ``, except those defined in standard header files.
7979
80- Note that :file: `Python.h ` excludes ``<stdio.h> ``, ``<string.h> ``,
81- ``<errno.h> ``, and ``<stdlib.h> `` as they are not used by Python anymore.
82- For backward compatibility of existing third party C extensions, they will be
83- included if Py_LIMITED_API is not defined and for limited C API version 3.10
84- and older.
80+ For backward compatibility of existing third party C extensions, :file: `Python.h `
81+ includes ``<stdio.h> ``, ``<string.h> ``, ``<errno.h> ``, and ``<stdlib.h> `` if
82+ :c:macro: `Py_LIMITED_API ` is not defined or for limited C API version 3.10 and older.
8583The ``<ctype.h> `` and ``<unistd.h> `` headers are also not included for limited
8684C API version 3.13 and newer.
8785
You can’t perform that action at this time.
0 commit comments