• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Do not renumber the file; these numbers are part of the stable ABI. */
2 #if defined(Py_LIMITED_API)
3 /* Disabled, see #10181 */
4 #undef Py_bf_getbuffer
5 #undef Py_bf_releasebuffer
6 #else
7 #define Py_bf_getbuffer 1
8 #define Py_bf_releasebuffer 2
9 #endif
10 #define Py_mp_ass_subscript 3
11 #define Py_mp_length 4
12 #define Py_mp_subscript 5
13 #define Py_nb_absolute 6
14 #define Py_nb_add 7
15 #define Py_nb_and 8
16 #define Py_nb_bool 9
17 #define Py_nb_divmod 10
18 #define Py_nb_float 11
19 #define Py_nb_floor_divide 12
20 #define Py_nb_index 13
21 #define Py_nb_inplace_add 14
22 #define Py_nb_inplace_and 15
23 #define Py_nb_inplace_floor_divide 16
24 #define Py_nb_inplace_lshift 17
25 #define Py_nb_inplace_multiply 18
26 #define Py_nb_inplace_or 19
27 #define Py_nb_inplace_power 20
28 #define Py_nb_inplace_remainder 21
29 #define Py_nb_inplace_rshift 22
30 #define Py_nb_inplace_subtract 23
31 #define Py_nb_inplace_true_divide 24
32 #define Py_nb_inplace_xor 25
33 #define Py_nb_int 26
34 #define Py_nb_invert 27
35 #define Py_nb_lshift 28
36 #define Py_nb_multiply 29
37 #define Py_nb_negative 30
38 #define Py_nb_or 31
39 #define Py_nb_positive 32
40 #define Py_nb_power 33
41 #define Py_nb_remainder 34
42 #define Py_nb_rshift 35
43 #define Py_nb_subtract 36
44 #define Py_nb_true_divide 37
45 #define Py_nb_xor 38
46 #define Py_sq_ass_item 39
47 #define Py_sq_concat 40
48 #define Py_sq_contains 41
49 #define Py_sq_inplace_concat 42
50 #define Py_sq_inplace_repeat 43
51 #define Py_sq_item 44
52 #define Py_sq_length 45
53 #define Py_sq_repeat 46
54 #define Py_tp_alloc 47
55 #define Py_tp_base 48
56 #define Py_tp_bases 49
57 #define Py_tp_call 50
58 #define Py_tp_clear 51
59 #define Py_tp_dealloc 52
60 #define Py_tp_del 53
61 #define Py_tp_descr_get 54
62 #define Py_tp_descr_set 55
63 #define Py_tp_doc 56
64 #define Py_tp_getattr 57
65 #define Py_tp_getattro 58
66 #define Py_tp_hash 59
67 #define Py_tp_init 60
68 #define Py_tp_is_gc 61
69 #define Py_tp_iter 62
70 #define Py_tp_iternext 63
71 #define Py_tp_methods 64
72 #define Py_tp_new 65
73 #define Py_tp_repr 66
74 #define Py_tp_richcompare 67
75 #define Py_tp_setattr 68
76 #define Py_tp_setattro 69
77 #define Py_tp_str 70
78 #define Py_tp_traverse 71
79 #define Py_tp_members 72
80 #define Py_tp_getset 73
81 #define Py_tp_free 74
82 #define Py_nb_matrix_multiply 75
83 #define Py_nb_inplace_matrix_multiply 76
84 #define Py_am_await 77
85 #define Py_am_aiter 78
86 #define Py_am_anext 79
87 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000
88 /* New in 3.5 */
89 #define Py_tp_finalize 80
90 #endif
91 #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030A0000
92 /* New in 3.10 */
93 #define Py_am_send 81
94 #endif
95