[Python-checkins] python/dist/src/Doc/api concrete.tex,1.24,1.25

loewis@users.sourceforge.net loewis@users.sourceforge.net
Sat, 10 May 2003 00:08:52 -0700


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1:/tmp/cvs-serv10809/Doc/api

Modified Files:
	concrete.tex 
Log Message:
Patch #612627: Add encoding attribute to file objects, and determine
the terminal encoding on Windows and Unix.


Index: concrete.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/concrete.tex,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** concrete.tex	23 Apr 2003 20:38:41 -0000	1.24
--- concrete.tex	10 May 2003 07:08:50 -0000	1.25
***************
*** 2030,2033 ****
--- 2030,2039 ----
  \end{cfuncdesc}
  
+ \begin{cfuncdesc}{int}{PyFile_Encoding}{PyFileObject *p, char *enc}
+   Set the file's encoding for Unicode output to \var{enc}. Return
+   1 on success and 0 on failure.
+   \versionadded{2.3}
+ \end{cfuncdesc}
+ 
  \begin{cfuncdesc}{int}{PyFile_SoftSpace}{PyObject *p, int newflag}
    This function exists for internal use by the interpreter.  Sets the