mirror of https://github.com/python/cpython
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);
|
||||
return gen;
|
||||
return (PyObject *)gen;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in New Issue