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 386d087 commit 17aadcbCopy full SHA for 17aadcb
1 file changed
Python/marshal.c
@@ -1659,7 +1659,6 @@ r_object(RFILE *p)
1659
PyObject *stop = NULL;
1660
PyObject *step = NULL;
1661
PyObject *start = NULL;
1662
-
1663
if (idx < 0) {
1664
break;
1665
}
@@ -1676,6 +1675,7 @@ r_object(RFILE *p)
1676
1675
goto cleanup;
1677
1678
retval = PySlice_New(start, stop, step);
+ r_ref_insert(retval, idx, flag, p);
1679
cleanup:
1680
Py_XDECREF(start);
1681
Py_XDECREF(stop);
0 commit comments