commit | 5a25fcd585f379476c073941123476165bf69d2b | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Sep 12 18:10:56 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Wed Sep 12 18:10:56 2007 +0000 |
tree | 0cf8b9cd4c7700ad807b877bf5e19abb942f4e8b | |
parent | 9c478bd8507c164bf2132083d18a319f4898db94 [diff] [blame] |
Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.
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 @@ 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.