Commit fb41292a authored by Fred Drake's avatar Fred Drake

Marked makedirs(), removedirs(), renames() as added in 1.5.2.

parent cee6ba25
...@@ -85,6 +85,7 @@ doesn't have a \code{'PATH'} key. ...@@ -85,6 +85,7 @@ doesn't have a \code{'PATH'} key.
\end{datadesc} \end{datadesc}
\begin{funcdesc}{makedirs}{path\optional{, mode}} \begin{funcdesc}{makedirs}{path\optional{, mode}}
\versionadded{1.5.2}
Recursive directory creation function. Like \function{mkdir()}, Recursive directory creation function. Like \function{mkdir()},
but makes all intermediate-level directories needed to contain the but makes all intermediate-level directories needed to contain the
leaf directory. Throws an \exception{os.error} exception if the leaf leaf directory. Throws an \exception{os.error} exception if the leaf
...@@ -93,6 +94,7 @@ is \code{0777} (octal). ...@@ -93,6 +94,7 @@ is \code{0777} (octal).
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{removedirs}{path} \begin{funcdesc}{removedirs}{path}
\versionadded{1.5.2}
Recursive directory removal function. Works like Recursive directory removal function. Works like
\function{rmdir()} except that, if the leaf directory is \function{rmdir()} except that, if the leaf directory is
successfully removed, directories corresponding to rightmost path successfully removed, directories corresponding to rightmost path
...@@ -103,6 +105,7 @@ exception if the leaf directory could not be successfully removed. ...@@ -103,6 +105,7 @@ exception if the leaf directory could not be successfully removed.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{renames}{path} \begin{funcdesc}{renames}{path}
\versionadded{1.5.2}
Recursive directory or file renaming function. Recursive directory or file renaming function.
Works like \function{rename()}, except creation of any intermediate Works like \function{rename()}, except creation of any intermediate
directories needed to make the new pathname good is attempted first. directories needed to make the new pathname good is attempted first.
......
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