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 7213df7 commit d52a83aCopy full SHA for d52a83a
Modules/posixmodule.c
@@ -5377,7 +5377,7 @@ parse_file_actions(PyObject *file_actions,
5377
return -1;
5378
}
5379
5380
- for (int i = 0; i < PySequence_Fast_GET_SIZE(seq); ++i) {
+ for (Py_ssize_t i = 0; i < PySequence_Fast_GET_SIZE(seq); ++i) {
5381
file_action = PySequence_Fast_GET_ITEM(seq, i);
5382
Py_INCREF(file_action);
5383
if (!PyTuple_Check(file_action) || !PyTuple_GET_SIZE(file_action)) {
0 commit comments