Kaydet (Commit) 5a25fcd5 authored tarafından Georg Brandl's avatar Georg Brandl

Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.

üst 9c478bd8
......@@ -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.
......
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