Skip to content

Commit e685bd9

Browse files
skirpichevpicnixz
andauthored
Update Objects/complexobject.c
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 38762b3 commit e685bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/complexobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ real_to_complex(PyObject **pobj, Py_complex *pc)
630630
if (PyComplex_Check(w)) { \
631631
Py_complex b = ((PyComplexObject *)w)->cval; \
632632
if (PyComplex_Check(v)) { \
633-
a = ((PyComplexObject *)(v))->cval; \
633+
a = ((PyComplexObject *)v)->cval; \
634634
a = _Py_c_##FUNC(a, b); \
635635
} \
636636
else if (real_to_double(&v, &a.real) < 0) { \

0 commit comments

Comments
 (0)