mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03: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
|
|
@ -81,7 +81,7 @@ typedef struct {
|
|||
|
||||
static PyTypeObject Reader_Type;
|
||||
|
||||
#define ReaderObject_Check(v) (Py_Type(v) == &Reader_Type)
|
||||
#define ReaderObject_Check(v) (Py_TYPE(v) == &Reader_Type)
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
|
|
@ -284,7 +284,7 @@ static void
|
|||
Dialect_dealloc(DialectObj *self)
|
||||
{
|
||||
Py_XDECREF(self->lineterminator);
|
||||
Py_Type(self)->tp_free((PyObject *)self);
|
||||
Py_TYPE(self)->tp_free((PyObject *)self);
|
||||
}
|
||||
|
||||
static char *dialect_kws[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue