summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-12-28 21:58:57 (GMT)
committerFred Drake <fdrake@acm.org>1998-12-28 21:58:57 (GMT)
commit94c4a7976f9a0389a27cc860668e690b4950a2c0 (patch)
tree36ee129701fe6c8595e0c31b3722bcec55f79511
parent8692998018eab9bb733dfb6670681b0d0fa7c560 (diff)
downloadcpython-94c4a7976f9a0389a27cc860668e690b4950a2c0.zip
cpython-94c4a7976f9a0389a27cc860668e690b4950a2c0.tar.gz
cpython-94c4a7976f9a0389a27cc860668e690b4950a2c0.tar.bz2
Added index entries to make it easier to locate directory & file operations.
-rw-r--r--Doc/lib/libshutil.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/lib/libshutil.tex b/Doc/lib/libshutil.tex
index 94f1a73..88e931d 100644
--- a/Doc/lib/libshutil.tex
+++ b/Doc/lib/libshutil.tex
@@ -9,6 +9,8 @@
The \module{shutil} module offers a number of high-level operations on
files and collections of files. In particular, functions are provided
which support file copying and removal.
+\index{file!copying}
+\index{copying files}
\strong{Caveat:} On MacOS, the resource fork and other metadata are
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.
\end{funcdesc}
\begin{funcdesc}{rmtree}{path\optional{, ignore_errors\optional{, onerror}}}
+\index{directory!deleting}
Delete an entire directory tree. If \var{ignore_errors} is true,
errors will be ignored; if false or omitted, errors are handled by
calling a handler specified by \var{onerror} or raise an exception.