summaryrefslogtreecommitdiffstats
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-03-30 11:57:00 (GMT)
committerGeorg Brandl <georg@python.org>2006-03-30 11:57:00 (GMT)
commit347b30042b68e80b245a03b23cb616024ecb1f1e (patch)
tree56c43f8b23f0ec425aa3c122b5b7eca975770e62 /Objects/fileobject.c
parent3987df5adf6ce821a290bd6e741fbcd8e0589fd8 (diff)
downloadcpython-347b30042b68e80b245a03b23cb616024ecb1f1e.zip
cpython-347b30042b68e80b245a03b23cb616024ecb1f1e.tar.gz
cpython-347b30042b68e80b245a03b23cb616024ecb1f1e.tar.bz2
Remove unnecessary casts in type object initializers.
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 57a9e9d..29c89db 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -2063,7 +2063,7 @@ PyTypeObject PyFile_Type = {
0, /* tp_descr_get */
0, /* tp_descr_set */
0, /* tp_dictoffset */
- (initproc)file_init, /* tp_init */
+ file_init, /* tp_init */
PyType_GenericAlloc, /* tp_alloc */
file_new, /* tp_new */
PyObject_Del, /* tp_free */