: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)
.. 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
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
.. 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)
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`