summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-19 09:36:36 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-19 09:36:36 (GMT)
commit928bff0b26adb643a7078575c9075b4b709c1b16 (patch)
tree77671ad6ea5d27975aede9b78826d228069a7ac9
parente0b75b7e87a385ca8b125e35e7c558626811ca99 (diff)
downloadcpython-928bff0b26adb643a7078575c9075b4b709c1b16.zip
cpython-928bff0b26adb643a7078575c9075b4b709c1b16.tar.gz
cpython-928bff0b26adb643a7078575c9075b4b709c1b16.tar.bz2
cleanup iobase.c
casting iobase_finalize to destructor is not needed
-rw-r--r--Modules/_io/iobase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/iobase.c b/Modules/_io/iobase.c
index 025007e..e289a10 100644
--- a/Modules/_io/iobase.c
+++ b/Modules/_io/iobase.c
@@ -827,7 +827,7 @@ PyTypeObject PyIOBase_Type = {
0, /* tp_weaklist */
0, /* tp_del */
0, /* tp_version_tag */
- (destructor)iobase_finalize, /* tp_finalize */
+ iobase_finalize, /* tp_finalize */
};