diff options
author | Georg Brandl <georg@python.org> | 2007-09-12 18:10:56 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-12 18:10:56 (GMT) |
commit | 5a25fcd585f379476c073941123476165bf69d2b (patch) | |
tree | 0cf8b9cd4c7700ad807b877bf5e19abb942f4e8b /Doc/c-api/concrete.rst | |
parent | 9c478bd8507c164bf2132083d18a319f4898db94 (diff) | |
download | cpython-5a25fcd585f379476c073941123476165bf69d2b.zip cpython-5a25fcd585f379476c073941123476165bf69d2b.tar.gz cpython-5a25fcd585f379476c073941123476165bf69d2b.tar.bz2 |
Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.
Diffstat (limited to 'Doc/c-api/concrete.rst')
-rw-r--r-- | Doc/c-api/concrete.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/concrete.rst b/Doc/c-api/concrete.rst index a0fd692..209f3e6 100644 --- a/Doc/c-api/concrete.rst +++ b/Doc/c-api/concrete.rst @@ -2505,7 +2505,7 @@ change in future releases of Python. immediately after file object creation. -.. cfunction:: int PyFile_Encoding(PyFileObject *p, char *enc) +.. cfunction:: int PyFile_SetEncoding(PyFileObject *p, const char *enc) Set the file's encoding for Unicode output to *enc*. Return 1 on success and 0 on failure. |