Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.

This commit is contained in:
Georg Brandl 2007-09-12 18:10:56 +00:00
parent 9c478bd850
commit 5a25fcd585
1 changed files with 1 additions and 1 deletions

View File

@ -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.