diff options
author | Guido van Rossum <guido@python.org> | 2007-12-03 22:54:21 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-12-03 22:54:21 (GMT) |
commit | e7fc50f2d03a6b62e4b4201c89b2c0185c90f697 (patch) | |
tree | 836034eb187c29177ffaabb74b39ba16ed71ddd1 /Include/fileobject.h | |
parent | c6fe37bab927bd00e0f2fed8a431adb7d2b6d303 (diff) | |
download | cpython-e7fc50f2d03a6b62e4b4201c89b2c0185c90f697.zip cpython-e7fc50f2d03a6b62e4b4201c89b2c0185c90f697.tar.gz cpython-e7fc50f2d03a6b62e4b4201c89b2c0185c90f697.tar.bz2 |
Add an errors parameter to open() and TextIOWrapper() to specify error handling.
Diffstat (limited to 'Include/fileobject.h')
-rw-r--r-- | Include/fileobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/fileobject.h b/Include/fileobject.h index 0f40089..00ec9be 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 *); |