File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ extern "C" {
12
12
#define _PY_NSMALLPOSINTS 257
13
13
#define _PY_NSMALLNEGINTS 5
14
14
15
- // _PyLong_GetZero() and _PyLong_GetOne() must always be available
16
- #if _PY_NSMALLPOSINTS < 2
17
- # error "_PY_NSMALLPOSINTS must be greater than 1"
18
- #endif
19
15
20
16
21
17
// Only immutable objects should be considered runtime-global.
Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ extern PyStatus _PyLong_InitTypes(PyInterpreterState *);
22
22
23
23
#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
24
24
25
+ // _PyLong_GetZero() and _PyLong_GetOne() must always be available
26
+ #if _PY_NSMALLPOSINTS < 2
27
+ # error "_PY_NSMALLPOSINTS must be greater than 1"
28
+ #endif
29
+
25
30
// Return a borrowed reference to the zero singleton.
26
31
// The function cannot return NULL.
27
32
static inline PyObject * _PyLong_GetZero (void )
You can’t perform that action at this time.
0 commit comments