Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.

(backport from rev. 58117).
This commit is contained in:
Georg Brandl 2007-09-12 18:11:03 +00:00
parent 5d30e752db
commit b8c23fb5fe
1 changed files with 1 additions and 1 deletions

View File

@ -2233,7 +2233,7 @@ implementation detail and may change in future releases of Python.
creation.
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyFile_Encoding}{PyFileObject *p, char *enc}
\begin{cfuncdesc}{int}{PyFile_SetEncoding}{PyFileObject *p, const char *enc}
Set the file's encoding for Unicode output to \var{enc}. Return
1 on success and 0 on failure.
\versionadded{2.3}