diff options
author | Christian Heimes <christian@cheimes.de> | 2008-01-23 14:00:25 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-01-23 14:00:25 (GMT) |
commit | 501dbbfb70b123e34f764f50cfd0bf68098c95a0 (patch) | |
tree | 051323f166d0c75cc09ff9b4d94a1e334e57c7af /Modules | |
parent | 66b4ab701be501a49424343cf02b103f4e5e9769 (diff) | |
download | cpython-501dbbfb70b123e34f764f50cfd0bf68098c95a0.zip cpython-501dbbfb70b123e34f764f50cfd0bf68098c95a0.tar.gz cpython-501dbbfb70b123e34f764f50cfd0bf68098c95a0.tar.bz2 |
Use Py_TYPE() instead of ->ob_type
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/mmapmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index 09e9465..bc153c9 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -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 * |