diff options
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r-- | Objects/complexobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c index e22c200..6110b99 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c @@ -822,7 +822,8 @@ PyDoc_STRVAR(complex_conjugate_doc, static PyObject * complex_getnewargs(PyComplexObject *v) { - return Py_BuildValue("(D)", &v->cval); + Py_complex c = v->cval; + return Py_BuildValue("(dd)", c.real, c.imag); } #if 0 |