summaryrefslogtreecommitdiffstats
path: root/Lib/shutil.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:50:46 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:50:46 (GMT)
commit30b9d5d3af043fc2687ad11a188a34fe355e20ef (patch)
tree6e86b6b605397d826721779611ebd06d028acfc1 /Lib/shutil.py
parent67f39777fa2c14f0e632adda8c5945cec569b46e (diff)
downloadcpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.zip
cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.gz
cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.bz2
#18705: fix a number of typos. Patch by FĂ©vry Thibault.
Diffstat (limited to 'Lib/shutil.py')
-rw-r--r--Lib/shutil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/shutil.py b/Lib/shutil.py
index 3904f43..a5b2d24 100644
--- a/Lib/shutil.py
+++ b/Lib/shutil.py
@@ -53,7 +53,7 @@ class ReadError(EnvironmentError):
"""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"""
@@ -195,7 +195,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
@@ -984,7 +984,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)