March 2003
Intermediate to advanced
656 pages
39h 30m
English
PyNumber_Power
PyObject* PyNumber_Power(PyObject*x,PyObject*y,PyObject*z)
When z is Py_None,
returns x raised to the
y power, like Python’s
x
**
y
or equivalently
pow(
x,y
).
Otherwise, returns
x
**
y
%
z,
like Python’s
pow(
x,y,z
).
The in-place version is named
PyNumber_InPlacePower.