It is used to denote public API variables (since the Python core is usually a dynamic library), for example. on Windows, it expands to extern __declspec(dllexport) RTYPEwhen the kernel is compiled and extern __declspec(dllimport) RTYPEwhen, for example, the modules are compiled. He is defined in Include/pyport.h.
source
share