From 066dacf66220a3b0cffe5b57fcc5c35dc6d8b12e Mon Sep 17 00:00:00 2001 From: Brian Curtin Date: Tue, 19 Jun 2012 10:03:05 -0500 Subject: Add versionchanged tags for #14772 changes --- Doc/library/shutil.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 3b9e6f4..f88c6de 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -66,6 +66,8 @@ Directory and files operations :exc:`IOError` used to be raised instead of :exc:`OSError`. Added *symlinks* argument. + .. versionchanged:: 3.3 + Added return of the *dst*. .. function:: copymode(src, dst, symlinks=False) @@ -101,6 +103,9 @@ Directory and files operations .. versionchanged:: 3.3 Added *symlinks* argument. + .. versionchanged:: 3.3 + Added return of the *dst*. + .. function:: copy2(src, dst, symlinks=False) Similar to :func:`shutil.copy`, including that the destination is @@ -113,6 +118,9 @@ Directory and files operations Added *symlinks* argument, try to copy extended file system attributes too (currently Linux only). + .. versionchanged:: 3.3 + Added return of the *dst*. + .. function:: ignore_patterns(\*patterns) This factory function creates a function that can be used as a callable for @@ -169,6 +177,8 @@ Directory and files operations .. versionchanged:: 3.3 Copy metadata when *symlinks* is false. + .. versionchanged:: 3.3 + Added return of the *dst*. .. function:: rmtree(path, ignore_errors=False, onerror=None) @@ -211,6 +221,9 @@ Directory and files operations Added explicit symlink handling for foreign filesystems, thus adapting it to the behavior of GNU's :program:`mv`. + .. versionchanged:: 3.3 + Added return of the *dst*. + .. function:: disk_usage(path) Return disk usage statistics about the given path as a :term:`named tuple` -- cgit v0.12