Skip to content

Commit 6c59e9b

Browse files
Yashp002encukou
andauthored
exports fix 9
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent 26cffa2 commit 6c59e9b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/c-api/intro.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,8 @@ complete listing.
410410

411411
.. c:macro:: PyAPI_DATA(type)
412412
413-
Macro used to declare a public global variable.
414-
It expands to ``extern Py_EXPORTED_SYMBOL type`` or ``extern Py_IMPORTED_SYMBOL type``
415-
depending on whether the core is being built or used.
413+
Macro used by CPython to declare a public global variable as part of the C API.
414+
Its expansion depends on the platform and build configuration.
416415
This macro is intended for defining CPython's C API itself;
417416
extension modules should not use it for their own symbols.
418417

0 commit comments

Comments
 (0)