Mercurial > cpython-lru_cache-weakref
diff Objects/classobject.c @ 44351:86a2679dca46
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Wed, 19 Dec 2007 02:45:37 +0000 |
| parents | 3e0867a07765 |
| children | 142a11b3057e |
line wrap: on
line diff
--- a/Objects/classobject.c Wed Dec 19 02:07:34 2007 +0000 +++ b/Objects/classobject.c Wed Dec 19 02:45:37 2007 +0000 @@ -208,7 +208,7 @@ { PyObject *self = a->im_self; PyObject *func = a->im_func; - PyObject *klass = (PyObject*)Py_Type(self); + PyObject *klass = (PyObject*)Py_TYPE(self); PyObject *funcname = NULL ,*klassname = NULL, *result = NULL; char *defname = "?";
