diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-03-15 17:42:16 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-03-15 17:42:16 (GMT) |
commit | f6eebbb4358d8749d5800814bab8c4cf3f068fbc (patch) | |
tree | e8286f6c1a7efcecfb70a8d9a9bb6ae8d743d5ce /Objects | |
parent | d36cfe495ef6fa3fdeedc62a4fb28b9d77de7f04 (diff) | |
download | cpython-f6eebbb4358d8749d5800814bab8c4cf3f068fbc.zip cpython-f6eebbb4358d8749d5800814bab8c4cf3f068fbc.tar.gz cpython-f6eebbb4358d8749d5800814bab8c4cf3f068fbc.tar.bz2 |
Patch #530105: Allow file object may to be subtyped
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/fileobject.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 7bcc82a..c8fb214 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) { |