Index: dist/src/Doc/lib/libfuncs.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v retrieving revision 1.178 diff -c -r1.178 libfuncs.tex *** dist/src/Doc/lib/libfuncs.tex 1 Jan 2005 00:28:37 -0000 1.178 --- dist/src/Doc/lib/libfuncs.tex 1 Jan 2005 07:47:52 -0000 *************** *** 416,424 **** after any I/O has been performed, and there's no reliable way to determine whether this is the case.} ! The \function{file()} constructor is new in Python 2.2. The previous ! spelling, \function{open()}, is retained for compatibility, and is an ! alias for \function{file()}. \end{funcdesc} \begin{funcdesc}{filter}{function, list} --- 416,425 ---- after any I/O has been performed, and there's no reliable way to determine whether this is the case.} ! The \class{file} class is new in Python 2.2. It represents the type ! (class) of objects returned by the built-in \function{open()} function. ! Its constructor is currently an alias for \function{open()}, but for ! future and backwards compatibility, \function{open()} remains preferred. \end{funcdesc} \begin{funcdesc}{filter}{function, list} *************** *** 683,689 **** \end{funcdesc} \begin{funcdesc}{open}{filename\optional{, mode\optional{, bufsize}}} ! An alias for the \function{file()} function above. \end{funcdesc} \begin{funcdesc}{ord}{c} --- 684,691 ---- \end{funcdesc} \begin{funcdesc}{open}{filename\optional{, mode\optional{, bufsize}}} ! Open a file and return a new file object. For a description, see the ! \function{file()} constructor above. \end{funcdesc} \begin{funcdesc}{ord}{c} *************** *** 1138,1143 **** --- 1140,1146 ---- % --------------------------------------------------------------------------- + \section{Non-essential Built-in Functions \label{non-essential-built-in-funcs}} There are several built-in functions that are no longer essential to learn,