changeset: 77517:e8ea27ab9fa6 user: Brian Curtin date: Tue Jun 19 10:03:05 2012 -0500 files: Doc/library/shutil.rst description: Add versionchanged tags for #14772 changes diff -r 7d86e207598f -r e8ea27ab9fa6 Doc/library/shutil.rst --- a/Doc/library/shutil.rst Tue Jun 19 16:33:39 2012 +0200 +++ b/Doc/library/shutil.rst Tue Jun 19 10:03:05 2012 -0500 @@ -66,6 +66,8 @@ :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 @@ .. 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 @@ 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 @@ .. 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 @@ 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`

AltStyle によって変換されたページ (->オリジナル) /