summaryrefslogtreecommitdiffstats
path: root/Objects/complexobject.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-04-24 13:14:07 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-04-24 13:14:07 (GMT)
commit90d47cb46c5845d15bc4fdc0590e19e58e894e0c (patch)
treed2b85feeb8b514e5e2c563f0f18d77b85ca8b102 /Objects/complexobject.c
parent95bc980d9ee2aabfedb90512906247f3e3c3fdf7 (diff)
downloadcpython-90d47cb46c5845d15bc4fdc0590e19e58e894e0c.zip
cpython-90d47cb46c5845d15bc4fdc0590e19e58e894e0c.tar.gz
cpython-90d47cb46c5845d15bc4fdc0590e19e58e894e0c.tar.bz2
Fix missing 'return NULL'
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r--Objects/complexobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index 894f796..7ebafa7 100644
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -1027,7 +1027,7 @@ complex_subtype_from_string(PyTypeObject *type, PyObject *v)
overflow:
PyErr_SetString(PyExc_OverflowError,
"complex() arg overflow");
-
+ return NULL;
}
static PyObject *