Skip to content

Commit 44bc1b2

Browse files
vstinnerpicnixz
andauthored
Update Python/sysmodule.c
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent df57cf2 commit 44bc1b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/sysmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3504,7 +3504,7 @@ _PySys_SetFlagObj(Py_ssize_t pos, PyObject *value)
35043504
goto error;
35053505
}
35063506

3507-
for (Py_ssize_t i=0; i < (Py_ssize_t)(Py_ARRAY_LENGTH(flags_fields) - 1); i++) {
3507+
for (Py_ssize_t i = 0; i < (Py_ssize_t)(Py_ARRAY_LENGTH(flags_fields) - 1); i++) {
35083508
if (i != pos) {
35093509
PyObject *old_value;
35103510
old_value = PyStructSequence_GET_ITEM(old_flags, i); // borrowed ref

0 commit comments

Comments
 (0)