diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 3b9e6f4f73c..f88c6de12ea 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`