/
shapovalovav
/
AI-Agent
Обзор
Документация
Войти
/
shapovalovav
/
AI-Agent
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Python314/include/cpython/modsupport.h
26 строк
1 KB
Anatoly1147
first_commit
11 июл 2026, 17:02
11 июл 2026, 17:02
f6c78bd
Код
Авторство
О чём код?
#ifndef Py_CPYTHON_MODSUPPORT_H # error "this header file must not be included directly" #endif // A data structure that can be used to run initialization code once in a // thread-safe manner. The C++11 equivalent is std::call_once. typedef struct { uint8_t v; } _PyOnceFlag; typedef struct _PyArg_Parser { const char *format; const char * const *keywords; const char *fname; const char *custom_msg; _PyOnceFlag once; /* atomic one-time initialization flag */ int is_kwtuple_owned; /* does this parser own the kwtuple object? */ int pos; /* number of positional-only arguments */ int min; /* minimal number of arguments */ int max; /* maximal number of positional arguments */ PyObject *kwtuple; /* tuple of keyword parameter names */ struct _PyArg_Parser *next; } _PyArg_Parser; PyAPI_FUNC(int) _PyArg_ParseTupleAndKeywordsFast(PyObject *, PyObject *, struct _PyArg_Parser *, ...);