We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a643516 commit f0b6596Copy full SHA for f0b6596
Doc/whatsnew/3.15.rst
@@ -155,7 +155,6 @@ Others
155
(Contributed by Sergey B Kirpichev in :gh:`109311`.)
156
157
158
-
159
Porting to Python 3.15
160
======================
161
Objects/complexobject.c
@@ -498,8 +498,8 @@ try_complex_special_method(PyObject *op)
498
return res;
499
}
500
PyErr_Format(PyExc_TypeError,
501
- "%T.__complex__ returned non-complex (type %T)",
502
- op, res);
+ "%T.__complex__ returned non-complex (type %T)",
+ op, res);
503
Py_DECREF(res);
504
return NULL;
505
0 commit comments