Skip to content

Commit ef46238

Browse files
CPyTagged_AsObject
1 parent f2db97a commit ef46238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/lib-rt/int_ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ CPyTagged CPyTagged_BitLength(CPyTagged self) {
636636
}
637637

638638
// Slow path for big ints
639-
PyObject *pyint = CPyTagged_StealAsObject(self);
639+
PyObject *pyint = CPyTagged_AsObject(self);
640640
int bits = _PyLong_NumBits(pyint);
641641
Py_DECREF(pyint);
642642
if (bits < 0) {

0 commit comments

Comments
 (0)