Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(10)

Unified Diff: Doc/library/shutil.rst

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/library/shlex.rst ('k') | Doc/library/signal.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/shutil.rst Tue Jul 26 09:37:46 2011 +0300
+++ b/Doc/library/shutil.rst Mon Jul 25 09:47:18 2011 -0400
@@ -161,19 +161,9 @@
Recursively move a file or directory to another location.
- Uses :func:`os.rename` to perform the move. If it fails, for reasons such as
- when *src* and *dst* are on different filesystems or in case of windows where
- rename is not supported when *dst* exists, fallback to copying *src* (with
- :func:`copy2`) to the *dst* and then remove *src*.
+ If the destination is on the current filesystem, then simply use rename.
+ Otherwise, copy src (with :func:`copy2`) to the dst and then remove src.
-.. function:: disk_usage(path)
-
- Return disk usage statistics about the given path as a namedtuple including
- total, used and free space expressed in bytes.
-
- .. versionadded:: 3.3
-
- Availability: Unix, Windows.
.. exception:: Error
« no previous file with comments | « Doc/library/shlex.rst ('k') | Doc/library/signal.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+