File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -413,6 +413,8 @@ complete listing.
413413 Macro used to declare a public global variable.
414414 It expands to ``extern Py_EXPORTED_SYMBOL type `` or ``extern Py_IMPORTED_SYMBOL type ``
415415 depending on whether the core is being built or used.
416+ This macro is intended for defining CPython's C API itself;
417+ extension modules should not use it for their own symbols.
416418
417419 Example usage::
418420
Original file line number Diff line number Diff line change @@ -18,11 +18,6 @@ Py_HasFileSystemDefaultEncoding
1818Py_UTF8Mode
1919# pyhash.h
2020Py_HASH_EXTERNAL
21- # exports.h
22- PyAPI_DATA
23- Py_EXPORTED_SYMBOL
24- Py_IMPORTED_SYMBOL
25- Py_LOCAL_SYMBOL
2621# modsupport.h
2722PyABIInfo_FREETHREADING_AGNOSTIC
2823# moduleobject.h
You can’t perform that action at this time.
0 commit comments