mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00

* Remove UNARY_POSITIVE, LIST_TO_TUPLE and ASYNC_GEN_WRAP, replacing them with intrinsics.
13 lines
367 B
C
13 lines
367 B
C
|
|
#define INTRINSIC_PRINT 1
|
|
#define INTRINSIC_IMPORT_STAR 2
|
|
#define INTRINSIC_STOPITERATION_ERROR 3
|
|
#define INTRINSIC_ASYNC_GEN_WRAP 4
|
|
#define INTRINSIC_UNARY_POSITIVE 5
|
|
#define INTRINSIC_LIST_TO_TUPLE 6
|
|
|
|
#define MAX_INTRINSIC_1 6
|
|
|
|
typedef PyObject *(*instrinsic_func1)(PyThreadState* tstate, PyObject *value);
|
|
|
|
extern instrinsic_func1 _PyIntrinsics_UnaryFunctions[];
|