summaryrefslogtreecommitdiff
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-19 02:37:44 +0000
committerChristian Heimes <christian@cheimes.de>2007-12-19 02:37:44 +0000
commit313c52225f6d34857203468bc0b431ff46195e1d (patch)
tree1ac4cf6d4292744b963ab4cfe62b4b42e1901ba6 /Objects/fileobject.c
parent4550ac1ac308a43c60070fc51dc68d1d054f51b5 (diff)
downloadcpython-313c52225f6d34857203468bc0b431ff46195e1d.tar.gz
#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 4dd5c712b7..a5a42fcccc 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -406,7 +406,7 @@ file_dealloc(PyFileObject *f)
Py_XDECREF(f->f_mode);
Py_XDECREF(f->f_encoding);
drop_readahead(f);
- Py_Type(f)->tp_free((PyObject *)f);
+ Py_TYPE(f)->tp_free((PyObject *)f);
}
static PyObject *