summaryrefslogtreecommitdiffstats
path: root/Objects/complexobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 21:58:58 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 21:58:58 (GMT)
commitda9c2710c728407f47f34635a75647c56a9ec106 (patch)
treeb8248e8ba3432a2d4b4fc4034214a60b2b96cf9d /Objects/complexobject.c
parent472c04f18f54327433c13601b25c7ea2c7071e6b (diff)
downloadcpython-da9c2710c728407f47f34635a75647c56a9ec106.zip
cpython-da9c2710c728407f47f34635a75647c56a9ec106.tar.gz
cpython-da9c2710c728407f47f34635a75647c56a9ec106.tar.bz2
Make gcc -Wall happy
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r--Objects/complexobject.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index e7d0898..175933a 100644
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -532,20 +532,6 @@ complex_float(v)
return NULL;
}
-
-static object *
-complex_new(self, args)
- object *self;
- object *args;
-{
- Py_complex cval;
-
- cval.imag = 0.;
- if (!PyArg_ParseTuple(args, "d|d", &cval.real, &cval.imag))
- return NULL;
- return newcomplexobject(cval);
-}
-
static object *
complex_conjugate(self)
object *self;