mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.
This commit is contained in:
parent
99170a5dbf
commit
90aa7646af
144 changed files with 1306 additions and 1153 deletions
|
|
@ -208,7 +208,7 @@ method_repr(PyMethodObject *a)
|
|||
{
|
||||
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 = "?";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue