summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-12-03 22:54:21 +0000
committerGuido van Rossum <guido@python.org>2007-12-03 22:54:21 +0000
commite7fc50f2d03a6b62e4b4201c89b2c0185c90f697 (patch)
tree836034eb187c29177ffaabb74b39ba16ed71ddd1 /Include
parentc6fe37bab927bd00e0f2fed8a431adb7d2b6d303 (diff)
downloadcpython-git-e7fc50f2d03a6b62e4b4201c89b2c0185c90f697.tar.gz
Add an errors parameter to open() and TextIOWrapper() to specify error handling.
Diffstat (limited to 'Include')
-rw-r--r--Include/fileobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/fileobject.h b/Include/fileobject.h
index 0f40089ef1..00ec9befed 100644
--- a/Include/fileobject.h
+++ b/Include/fileobject.h
@@ -9,7 +9,7 @@ extern "C" {
#define PY_STDIOTEXTMODE "b"
PyAPI_FUNC(PyObject *) PyFile_FromFd(int, char *, char *, int, char *, char *,
- int);
+ char *, int);
PyAPI_FUNC(PyObject *) PyFile_GetLine(PyObject *, int);
PyAPI_FUNC(int) PyFile_WriteObject(PyObject *, PyObject *, int);
PyAPI_FUNC(int) PyFile_WriteString(const char *, PyObject *);