]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add "close" function parameter to newopenfileobject().
authorGuido van Rossum <guido@python.org>
Fri, 7 Jun 1991 13:57:38 +0000 (13:57 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Jun 1991 13:57:38 +0000 (13:57 +0000)
Include/fileobject.h

index beaebe983af6f51318b0795206536ce97e6e6484..52a3765b89a4434d64b89626e2493f240ba0946f 100644 (file)
@@ -29,6 +29,7 @@ extern typeobject Filetype;
 #define is_fileobject(op) ((op)->ob_type == &Filetype)
 
 extern object *newfileobject PROTO((char *, char *));
-extern object *newopenfileobject PROTO((FILE *, char *, char *));
+extern object *newopenfileobject
+       PROTO((FILE *, char *, char *, int (*)FPROTO((FILE *))));
 extern FILE *getfilefile PROTO((object *));
 extern object *filegetline PROTO((object *, int));