mirror of
https://github.com/python/cpython.git
synced 2026-04-15 08:11:10 +00:00
Implement _PyTuple_FromPair() and _PyTuple_FromPairSteal(). Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
20 lines
581 B
C
20 lines
581 B
C
#ifndef Py_TESTINTERNALCAPI_PARTS_H
|
|
#define Py_TESTINTERNALCAPI_PARTS_H
|
|
|
|
// Always enable assertions
|
|
#undef NDEBUG
|
|
|
|
#ifndef Py_BUILD_CORE_BUILTIN
|
|
# define Py_BUILD_CORE_MODULE 1
|
|
#endif
|
|
|
|
#include "Python.h"
|
|
|
|
int _PyTestInternalCapi_Init_Lock(PyObject *module);
|
|
int _PyTestInternalCapi_Init_PyTime(PyObject *module);
|
|
int _PyTestInternalCapi_Init_Set(PyObject *module);
|
|
int _PyTestInternalCapi_Init_Complex(PyObject *module);
|
|
int _PyTestInternalCapi_Init_CriticalSection(PyObject *module);
|
|
int _PyTestInternalCapi_Init_Tuple(PyObject *module);
|
|
|
|
#endif // Py_TESTINTERNALCAPI_PARTS_H
|