Skip to content

Commit 9aa277b

Browse files
committed
Moving up condition
1 parent 17aadcb commit 9aa277b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Python/marshal.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,12 +1656,12 @@ r_object(RFILE *p)
16561656
case TYPE_SLICE:
16571657
{
16581658
Py_ssize_t idx = r_ref_reserve(flag, p);
1659-
PyObject *stop = NULL;
1660-
PyObject *step = NULL;
1661-
PyObject *start = NULL;
16621659
if (idx < 0) {
16631660
break;
16641661
}
1662+
PyObject *stop = NULL;
1663+
PyObject *step = NULL;
1664+
PyObject *start = NULL;
16651665
start = r_object(p);
16661666
if (start == NULL) {
16671667
goto cleanup;

0 commit comments

Comments
 (0)