Skip to content
Merged
Prev Previous commit
Next Next commit
Merge branch 'main' into float-from-number
  • Loading branch information
serhiy-storchaka committed Oct 6, 2023
commit 01204b73e4ab0e92d830ea0a514aa22a478bbf09
2 changes: 1 addition & 1 deletion Objects/clinic/complexobject.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Objects/clinic/floatobject.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Objects/complexobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -1055,9 +1055,9 @@ static PyMethodDef complex_methods[] = {
};

static PyMemberDef complex_members[] = {
{"real", T_DOUBLE, offsetof(PyComplexObject, cval.real), READONLY,
{"real", Py_T_DOUBLE, offsetof(PyComplexObject, cval.real), Py_READONLY,
"the real part of a complex number"},
{"imag", T_DOUBLE, offsetof(PyComplexObject, cval.imag), READONLY,
{"imag", Py_T_DOUBLE, offsetof(PyComplexObject, cval.imag), Py_READONLY,
"the imaginary part of a complex number"},
{0},
};
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.