mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Added index entries to make it easier to locate directory & file operations.
This commit is contained in:
parent
8692998018
commit
94c4a7976f
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue