mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Use Py_TYPE() instead of ->ob_type
This commit is contained in:
parent
66b4ab701b
commit
501dbbfb70
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ mmap_object_dealloc(mmap_object *m_obj)
|
|||
}
|
||||
#endif /* UNIX */
|
||||
|
||||
m_obj->ob_type->tp_free((PyObject*)m_obj);
|
||||
Py_TYPE(m_obj)->tp_free((PyObject*)m_obj);
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue