[Python-checkins] CVS: python/dist/src/Doc/lib libstdtypes.tex,1.73,1.74
Tim Peters
tim_one@users.sourceforge.net
2001年10月29日 21:54:06 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv31690/python/Doc/lib
Modified Files:
libstdtypes.tex
Log Message:
Mention the new file() builtin in the section on file objects.
Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.73
retrieving revision 1.74
diff -C2 -d -r1.73 -r1.74
*** libstdtypes.tex 2001年10月26日 18:57:14 1.73
--- libstdtypes.tex 2001年10月30日 05:54:04 1.74
***************
*** 1188,1194 ****
File objects are implemented using C's \code{stdio} package and can be
! created with the built-in function
! \function{open()}\bifuncindex{open} described in section
! \ref{built-in-funcs}, ``Built-in Functions.'' They are also returned
by some other built-in functions and methods, such as
\function{os.popen()} and \function{os.fdopen()} and the
--- 1188,1197 ----
File objects are implemented using C's \code{stdio} package and can be
! created with the built-in constructor
! \function{file()}\bifuncindex{file} described in section
! \ref{built-in-funcs}, ``Built-in Functions.''\footnote{\function{file()}
! is new in Python 2.2. The older built-in \function{open()} is an
! alias for \function{file()}.}
! They are also returned
by some other built-in functions and methods, such as
\function{os.popen()} and \function{os.fdopen()} and the