]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.
authorGeorg Brandl <georg@python.org>
Wed, 12 Sep 2007 18:11:03 +0000 (18:11 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 12 Sep 2007 18:11:03 +0000 (18:11 +0000)
(backport from rev. 58117).

Doc/api/concrete.tex

index 3ffcf5a8b92d4c73159fe7de67a7c0c15a2243ac..eb20335a7ec467e073190128da70c4c2bbdec009 100644 (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}