summaryrefslogtreecommitdiffstats
path: root/Modules/zipimport.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-05-25 07:19:40 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-05-25 07:19:40 (GMT)
commit2d12e1458f0f6af0af350b39552107f2f6fdf363 (patch)
tree6b31dbff7bf35d6ec031d07fbe0266362a4f59a8 /Modules/zipimport.c
parentca28e99202cb31506c071792e463afbcdb5738f4 (diff)
downloadcpython-2d12e1458f0f6af0af350b39552107f2f6fdf363.zip
cpython-2d12e1458f0f6af0af350b39552107f2f6fdf363.tar.gz
cpython-2d12e1458f0f6af0af350b39552107f2f6fdf363.tar.bz2
actually return the result
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r--Modules/zipimport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c
index 4e74edf..c33ab8b 100644
--- a/Modules/zipimport.c
+++ b/Modules/zipimport.c
@@ -394,7 +394,7 @@ zipimporter_find_module(PyObject *obj, PyObject *args)
break;
}
Py_XINCREF(result);
- return NULL;
+ return result;
}