class CustomComplex(*args)[source]

Bases: builtins.complex

Helper class to inherit from and which stores a complex number that is extendable.


__doc__ str(object=’‘) -> str
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)
imag the imaginary part of a complex number
real the real part of a complex number

Public Methods

conjugate Return the complex conjugate of its argument.

Special Methods

__dir__ default dir() implementation
__format__ Convert to a string according to format_spec.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().