[Python-checkins] r58117 - python/trunk/Doc/c-api/concrete.rst

georg.brandl python-checkins at python.org
Wed Sep 12 20:10:57 CEST 2007


Author: georg.brandl
Date: Wed Sep 12 20:10:56 2007
New Revision: 58117

Modified:
   python/trunk/Doc/c-api/concrete.rst
Log:
Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.


Modified: python/trunk/Doc/c-api/concrete.rst
==============================================================================
--- python/trunk/Doc/c-api/concrete.rst	(original)
+++ python/trunk/Doc/c-api/concrete.rst	Wed Sep 12 20:10:56 2007
@@ -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.


More information about the Python-checkins mailing list