diff options
author | Christian Heimes <christian@cheimes.de> | 2007-12-19 02:45:37 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-12-19 02:45:37 +0000 |
commit | d87a72a1e9d2f905be78a5f0b6f0efd2c71aecd4 (patch) | |
tree | 19dda31d5adcf70440e5aa2565efa9d1701a2f21 /Include/complexobject.h | |
parent | 386ef4a4352cfcfdc9f666f2379cfe566ad8b4b7 (diff) | |
download | cpython-d87a72a1e9d2f905be78a5f0b6f0efd2c71aecd4.tar.gz |
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
Diffstat (limited to 'Include/complexobject.h')
-rw-r--r-- | Include/complexobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/complexobject.h b/Include/complexobject.h index 3e1cda5870..b0364440d1 100644 --- a/Include/complexobject.h +++ b/Include/complexobject.h @@ -43,7 +43,7 @@ typedef struct { PyAPI_DATA(PyTypeObject) PyComplex_Type; #define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type) -#define PyComplex_CheckExact(op) (Py_Type(op) == &PyComplex_Type) +#define PyComplex_CheckExact(op) (Py_TYPE(op) == &PyComplex_Type) PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex); PyAPI_FUNC(PyObject *) PyComplex_FromDoubles(double real, double imag); |