Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 041c38a commit 45c9dceCopy full SHA for 45c9dce
1 file changed
Objects/longobject.c
@@ -36,8 +36,9 @@ Py_ssize_t quick_int_allocs, quick_neg_int_allocs;
36
static PyObject *
37
get_small_int(sdigit ival)
38
{
39
+ PyObject *v;
40
assert(-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS);
- PyObject *v = (PyObject *)&small_ints[ival + NSMALLNEGINTS];
41
+ v = (PyObject *)&small_ints[ival + NSMALLNEGINTS];
42
Py_INCREF(v);
43
#ifdef COUNT_ALLOCS
44
if (ival >= 0)
0 commit comments