Commit b8c23fb5 authored by Georg Brandl's avatar Georg Brandl

Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.

(backport from rev. 58117).
parent 5d30e752
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment