summaryrefslogtreecommitdiff
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-03-15 17:42:16 +0000
committerMartin v. Löwis <martin@v.loewis.de>2002-03-15 17:42:16 +0000
commitf6eebbb4358d8749d5800814bab8c4cf3f068fbc (patch)
treee8286f6c1a7efcecfb70a8d9a9bb6ae8d743d5ce /Objects/fileobject.c
parentd36cfe495ef6fa3fdeedc62a4fb28b9d77de7f04 (diff)
downloadcpython-git-f6eebbb4358d8749d5800814bab8c4cf3f068fbc.tar.gz
Patch #530105: Allow file object may to be subtyped
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r--Objects/fileobject.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 7bcc82aa1c..c8fb214e2f 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -38,17 +38,6 @@
#endif
-typedef struct {
- PyObject_HEAD
- FILE *f_fp;
- PyObject *f_name;
- PyObject *f_mode;
- int (*f_close)(FILE *);
- int f_softspace; /* Flag used by 'print' command */
- int f_binary; /* Flag which indicates whether the file is open
- open in binary (1) or test (0) mode */
-} PyFileObject;
-
FILE *
PyFile_AsFile(PyObject *f)
{