Kaydet (Commit) 6db897c5 authored tarafından Fred Drake's avatar Fred Drake

Move chdir() and getcwd() descriptions to "Files and Directories" with

a pointer from the "Process Parameters" section.  Based on comments
from Aahz Maruch, Tim Peters, and GvR.
üst f930d827
......@@ -86,12 +86,6 @@ is also a valid module: it may be imported directly as
These functions and data items provide information and operate on the
current process and user.
\begin{funcdesc}{chdir}{path}
\index{directory!changing}
Change the current working directory to \var{path}.
Availability: Macintosh, \UNIX{}, Windows.
\end{funcdesc}
\begin{datadesc}{environ}
A mapping object representing the string environment. For example,
\code{environ['HOME']} is the pathname of your home directory (on some
......@@ -107,10 +101,11 @@ the appropriate process-creation functions to cause child processes to
use a modified environment.
\end{datadesc}
\begin{funcdesc}{getcwd}{}
Return a string representing the current working directory.
Availability: Macintosh, \UNIX{}, Windows.
\end{funcdesc}
\begin{funcdescni}{chdir}{path}
\funclineni{getcwd}{}
These functions are described in ``Files and Directories'' (section
\ref{os-file-dir}).
\end{funcdescni}
\begin{funcdesc}{getegid}{}
Return the current process' effective group id.
......@@ -410,6 +405,17 @@ See the \UNIX{} manual for the semantics.
Availability: \UNIX{}.
\end{funcdesc}
\begin{funcdesc}{chdir}{path}
\index{directory!changing}
Change the current working directory to \var{path}.
Availability: Macintosh, \UNIX{}, Windows.
\end{funcdesc}
\begin{funcdesc}{getcwd}{}
Return a string representing the current working directory.
Availability: Macintosh, \UNIX{}, Windows.
\end{funcdesc}
\begin{funcdesc}{chmod}{path, mode}
Change the mode of \var{path} to the numeric \var{mode}.
Availability: \UNIX{}, Windows.
......
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