#2067: file.__exit__() now calls subclasses' close() method.
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index eb05cda..932b7dc 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -1660,9 +1660,9 @@
 }
 
 static PyObject *
-file_exit(PyFileObject *f, PyObject *args)
+file_exit(PyObject *f, PyObject *args)
 {
-	PyObject *ret = file_close(f);
+	PyObject *ret = PyObject_CallMethod(f, "close", NULL);
 	if (!ret)
 		/* If error occurred, pass through */
 		return NULL;