Skip to content

Commit

Permalink
Update Doc/c-api/complex.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Petr Viktorin <[email protected]>
  • Loading branch information
sobolevn and encukou authored Jul 16, 2024
1 parent 1afad21 commit fbd0858
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Doc/c-api/complex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ pointers. This is consistent throughout the API.
use structures of this type as input or output values, as appropriate.

.. c:member:: double real
.. c:member:: double imag
double imag
It is defined as::
The structure is defined as::

typedef struct {
double real;
double imag;
} Py_complex;
typedef struct {
double real;
double imag;
} Py_complex;


.. c:function:: Py_complex _Py_c_sum(Py_complex left, Py_complex right)
Expand Down

0 comments on commit fbd0858

Please sign in to comment.