[Python-checkins] python/dist/src/Doc/lib libos.tex,1.79,1.80
fdrake@sourceforge.net
fdrake@sourceforge.net
2002年4月15日 12:41:29 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv23866/Doc/lib
Modified Files:
libos.tex
Log Message:
Add docs for os.fchdir().
Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** libos.tex 14 Apr 2002 10:19:43 -0000 1.79
--- libos.tex 15 Apr 2002 19:41:27 -0000 1.80
***************
*** 102,105 ****
--- 102,106 ----
\begin{funcdescni}{chdir}{path}
+ \funclineni{fchdir}{}
\funclineni{getcwd}{}
These functions are described in ``Files and Directories'' (section
***************
*** 589,592 ****
--- 590,601 ----
Change the current working directory to \var{path}.
Availability: Macintosh, \UNIX, Windows.
+ \end{funcdesc}
+
+ \begin{funcdesc}{fchdir}{fd}
+ Change the current working directory to the directory represented by
+ the file descriptor \var{fd}. The descriptor must refer to an opened
+ directory, not an open file.
+ Availability: \UNIX.
+ \versionadded{2.3}
\end{funcdesc}