7.4.4 Complex Number Objects
Keywords: api

##
7.4.4 Complex Number Objects

Python's complex number objects are implemented as two distinct types when viewed from the C API: one is the Python object exposed to Python programs, and the other is a C structure which represents the actual complex number value. The API provides functions for working with both.

Subsections

- 7.4.4.1 Complex Numbers as C Structures
- 7.4.4.2 Complex Numbers as Python Objects