Where Online Learning is simpler!
The C and C++ Include Header Files
cat -n /usr/include/python3.12/internal/pycore_sysmodule.h
1 #ifndef Py_INTERNAL_SYSMODULE_H 2 #define Py_INTERNAL_SYSMODULE_H 3 #ifdef __cplusplus 4 extern "C" { 5 #endif 6 7 #ifndef Py_BUILD_CORE 8 # error "this header requires Py_BUILD_CORE define" 9 #endif 10 11 PyAPI_FUNC(int) _PySys_GetOptionalAttr(PyObject *, PyObject **); 12 PyAPI_FUNC(int) _PySys_GetOptionalAttrString(const char *, PyObject **); 13 PyAPI_FUNC(PyObject *) _PySys_GetRequiredAttr(PyObject *); 14 PyAPI_FUNC(PyObject *) _PySys_GetRequiredAttrString(const char *); 15 16 PyAPI_FUNC(int) _PySys_Audit( 17 PyThreadState *tstate, 18 const char *event, 19 const char *argFormat, 20 ...); 21 22 /* We want minimal exposure of this function, so use extern rather than 23 PyAPI_FUNC() to not export the symbol. */ 24 extern void _PySys_ClearAuditHooks(PyThreadState *tstate); 25 26 PyAPI_FUNC(int) _PySys_SetAttr(PyObject *, PyObject *); 27 28 extern int _PySys_ClearAttrString(PyInterpreterState *interp, 29 const char *name, int verbose); 30 31 #ifdef __cplusplus 32 } 33 #endif 34 #endif /* !Py_INTERNAL_SYSMODULE_H */