summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/util.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-07-27 02:13:20 (GMT)
committerGreg Ward <gward@python.net>2000-07-27 02:13:20 (GMT)
commit612eb9f58fe38f33484f36bcba97a4b3d8e090a9 (patch)
tree123a9cab1828c8b5d802bbc48163e5d6a5ce3f30 /Lib/distutils/util.py
parentaa5372caa758b8bd36ae0621a490dcc0ec21d2ae (diff)
downloadcpython-612eb9f58fe38f33484f36bcba97a4b3d8e090a9.zip
cpython-612eb9f58fe38f33484f36bcba97a4b3d8e090a9.tar.gz
cpython-612eb9f58fe38f33484f36bcba97a4b3d8e090a9.tar.bz2
Fixed a grab-bag of typos spotted by Rob Hooft.
Diffstat (limited to 'Lib/distutils/util.py')
-rw-r--r--Lib/distutils/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py
index ebfdf0a..0bff3a5 100644
--- a/Lib/distutils/util.py
+++ b/Lib/distutils/util.py
@@ -105,7 +105,7 @@ def check_environ ():
guarantee that users can use in config files, command-line
options, etc. Currently this includes:
HOME - user's home directory (Unix only)
- PLAT - desription of the current platform, including hardware
+ PLAT - description of the current platform, including hardware
and OS (see 'get_platform()')
"""
@@ -125,7 +125,7 @@ def check_environ ():
def subst_vars (str, local_vars):
"""Perform shell/Perl-style variable substitution on 'string'.
- Every occurence of '$' followed by a name, or a name enclosed in
+ Every occurrence of '$' followed by a name, or a name enclosed in
braces, is considered a variable. Every variable is substituted by
the value found in the 'local_vars' dictionary, or in 'os.environ'
if it's not in 'local_vars'. 'os.environ' is first checked/