/
githubmirror
/
cpython
Обзор
Документация
Войти
/
githubmirror
/
cpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Modules/config.c.in
65 строк
1 KB
Neil Schemenauer
gh-128384: Use a context variable for warnings.catch_warnings (gh-130010)
10 апр 2025, 02:18
Не верифицирован
10 апр 2025, 02:18
d687900
Код
Авторство
О чём код?
/* Module configuration */ /* !!! !!! !!! This file is edited by the makesetup script !!! !!! !!! */ /* This file contains the table of built-in modules. See create_builtin() in import.c. */ #include "Python.h" #ifdef __cplusplus extern "C" { #endif /* -- ADDMODULE MARKER 1 -- */ extern PyObject* PyMarshal_Init(void); extern PyObject* PyInit__imp(void); extern PyObject* PyInit_gc(void); extern PyObject* PyInit__ast(void); extern PyObject* PyInit__tokenize(void); extern PyObject* PyInit__contextvars(void); extern PyObject* _PyWarnings_Init(void); extern PyObject* PyInit__string(void); struct _inittab _PyImport_Inittab[] = { /* -- ADDMODULE MARKER 2 -- */ /* This module lives in marshal.c */ {"marshal", PyMarshal_Init}, /* This lives in import.c */ {"_imp", PyInit__imp}, /* This lives in Python/Python-ast.c */ {"_ast", PyInit__ast}, /* This lives in Python/Python-tokenize.c */ {"_tokenize", PyInit__tokenize}, /* These entries are here for sys.builtin_module_names */ {"builtins", NULL}, {"sys", NULL}, /* This lives in gcmodule.c */ {"gc", PyInit_gc}, /* This lives in Python/_contextvars.c */ {"_contextvars", PyInit__contextvars}, /* This lives in _warnings.c */ {"_warnings", _PyWarnings_Init}, /* This lives in Objects/unicodeobject.c */ {"_string", PyInit__string}, /* Sentinel */ {0, 0} }; #ifdef __cplusplus } #endif