diff options
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r-- | Lib/shutil.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py index 6879d8b..502bb67 100644 --- a/Lib/shutil.py +++ b/Lib/shutil.py @@ -56,7 +56,7 @@ class ReadError(OSError): """Raised when an archive cannot be read""" class RegistryError(Exception): - """Raised when a registery operation with the archiving + """Raised when a registry operation with the archiving and unpacking registeries fails""" @@ -193,7 +193,7 @@ def copystat(src, dst, *, follow_symlinks=True): # * follow_symlinks=False, # * lchown() is unavailable, and # * either - # * fchownat() is unvailable or + # * fchownat() is unavailable or # * fchownat() doesn't implement AT_SYMLINK_NOFOLLOW. # (it returned ENOSUP.) # therefore we're out of options--we simply cannot chown the @@ -983,7 +983,7 @@ elif os.name == 'nt': def disk_usage(path): """Return disk usage statistics about the given path. - Returned valus is a named tuple with attributes 'total', 'used' and + Returned values is a named tuple with attributes 'total', 'used' and 'free', which are the amount of total, used and free space, in bytes. """ total, free = nt._getdiskusage(path) |