add missing INCREF in RAISE_EXCEPTION
diff --git a/Python/ceval.c b/Python/ceval.c
index 08758eb..c7fa697 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -782,6 +782,7 @@
while (is_tupleobject(w) && gettuplesize(w) > 0) {
u = w;
w = gettupleitem(u, 0);
+ INCREF(w);
DECREF(u);
}
if (!is_stringobject(w))
@@ -2494,7 +2495,7 @@
{
object *w, *x;
if (!is_moduleobject(v)) {
- err_setstr(TypeError, "import-from require module object");
+ err_setstr(TypeError, "import-from requires module object");
return -1;
}
w = getmoduledict(v);