[Python-checkins] cpython: Fix warnings for gen_get_iter()
yury.selivanov
python-checkins at python.org
Tue May 12 05:23:09 CEST 2015
https://hg.python.org/cpython/rev/0a9a5acecdd3
changeset: 95971:0a9a5acecdd3
user: Yury Selivanov <yselivanov at sprymix.com>
date: Mon May 11 23:23:05 2015 -0400
summary:
Fix warnings for gen_get_iter()
files:
Objects/genobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/genobject.c b/Objects/genobject.c
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -531,7 +531,7 @@
}
Py_INCREF(gen);
- return gen;
+ return (PyObject *)gen;
}
static int
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list