Fix warnings for gen_get_iter()
This commit is contained in:
parent
f487a005d6
commit
df52e67d85
@ -531,7 +531,7 @@ gen_get_iter(PyGenObject *gen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Py_INCREF(gen);
|
Py_INCREF(gen);
|
||||||
return gen;
|
return (PyObject *)gen;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user