summaryrefslogtreecommitdiffstats
path: root/Include/fileobject.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-22 22:23:46 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-22 22:23:46 (GMT)
commit745b8cff08e105d1b612e48f3087127f7cdeecc1 (patch)
tree094a348c6ad299efd2170ec20cdecf201a586288 /Include/fileobject.h
parentf1e63545483a3b4eb7d8357e8a1ed2cb048bbb00 (diff)
downloadcpython-745b8cff08e105d1b612e48f3087127f7cdeecc1.zip
cpython-745b8cff08e105d1b612e48f3087127f7cdeecc1.tar.gz
cpython-745b8cff08e105d1b612e48f3087127f7cdeecc1.tar.bz2
flushline and writestring can now return an error
Diffstat (limited to 'Include/fileobject.h')
-rw-r--r--Include/fileobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/fileobject.h b/Include/fileobject.h
index 3a3bf7a..d5e7b8c 100644
--- a/Include/fileobject.h
+++ b/Include/fileobject.h
@@ -50,7 +50,7 @@ extern PyObject *PyFile_Name Py_PROTO((PyObject *));
extern PyObject *PyFile_GetLine Py_PROTO((PyObject *, int));
extern int PyFile_WriteObject Py_PROTO((PyObject *, PyObject *, int));
extern int PyFile_SoftSpace Py_PROTO((PyObject *, int));
-extern void PyFile_WriteString Py_PROTO((char *, PyObject *));
+extern int PyFile_WriteString Py_PROTO((char *, PyObject *));
#ifdef __cplusplus
}