Commit 558aae58 authored by Fred Drake's avatar Fred Drake

Added index entries to make it easier to locate directory & file operations.

parent 7c460f16
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
The \module{shutil} module offers a number of high-level operations on The \module{shutil} module offers a number of high-level operations on
files and collections of files. In particular, functions are provided files and collections of files. In particular, functions are provided
which support file copying and removal. which support file copying and removal.
\index{file!copying}
\index{copying files}
\strong{Caveat:} On MacOS, the resource fork and other metadata are \strong{Caveat:} On MacOS, the resource fork and other metadata are
not used. For file copies, this means that resources will be lost and not used. For file copies, this means that resources will be lost and
...@@ -58,6 +60,7 @@ file type and creator codes will not be correct. ...@@ -58,6 +60,7 @@ file type and creator codes will not be correct.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{rmtree}{path\optional{, ignore_errors\optional{, onerror}}} \begin{funcdesc}{rmtree}{path\optional{, ignore_errors\optional{, onerror}}}
\index{directory!deleting}
Delete an entire directory tree. If \var{ignore_errors} is true, Delete an entire directory tree. If \var{ignore_errors} is true,
errors will be ignored; if false or omitted, errors are handled by errors will be ignored; if false or omitted, errors are handled by
calling a handler specified by \var{onerror} or raise an exception. calling a handler specified by \var{onerror} or raise an exception.
......
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