From e685bd98d21ebb0854bf8479c9b6ff228f8607a2 Mon Sep 17 00:00:00 2001 From: Sergey B Kirpichev Date: Thu, 31 Oct 2024 17:07:37 +0300 Subject: [PATCH] Update Objects/complexobject.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --- Objects/complexobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/complexobject.c b/Objects/complexobject.c index 16d64108a6ac35..108e5d0b085e65 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c @@ -630,7 +630,7 @@ real_to_complex(PyObject **pobj, Py_complex *pc) if (PyComplex_Check(w)) { \ Py_complex b = ((PyComplexObject *)w)->cval; \ if (PyComplex_Check(v)) { \ - a = ((PyComplexObject *)(v))->cval; \ + a = ((PyComplexObject *)v)->cval; \ a = _Py_c_##FUNC(a, b); \ } \ else if (real_to_double(&v, &a.real) < 0) { \