Skip to content

Commit f0b6596

Browse files
skirpichevpicnixz
andauthored
Apply suggestions from code review
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent a643516 commit f0b6596

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ Others
155155
(Contributed by Sergey B Kirpichev in :gh:`109311`.)
156156

157157

158-
159158
Porting to Python 3.15
160159
======================
161160

Objects/complexobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,8 @@ try_complex_special_method(PyObject *op)
498498
return res;
499499
}
500500
PyErr_Format(PyExc_TypeError,
501-
"%T.__complex__ returned non-complex (type %T)",
502-
op, res);
501+
"%T.__complex__ returned non-complex (type %T)",
502+
op, res);
503503
Py_DECREF(res);
504504
return NULL;
505505
}

0 commit comments

Comments
 (0)