Commit dc379c93 authored by Greg Ward's avatar Greg Ward

Fixed a grab-bag of typos spotted by Rob Hooft.

parent 305f9c11
......@@ -304,7 +304,7 @@ class CCompiler:
def add_link_object (self, object):
"""Add 'object' to the list of object files (or analogues, such as
explictly named library files or the output of "resource
explicitly named library files or the output of "resource
compilers") to be included in every link driven by this compiler
object.
"""
......
......@@ -55,7 +55,7 @@ class Command:
# commands fallback on the Distribution's behaviour. None means
# "not defined, check self.distribution's copy", while 0 or 1 mean
# false and true (duh). Note that this means figuring out the real
# value of each flag is a touch complicatd -- hence "self.verbose"
# value of each flag is a touch complicated -- hence "self.verbose"
# (etc.) will be handled by __getattr__, below.
self._verbose = None
self._dry_run = None
......
......@@ -400,7 +400,7 @@ class bdist_rpm (Command):
]
for (rpm_opt, attr, default) in script_options:
# Insert contents of file refered to, if no file is refered to
# Insert contents of file referred to, if no file is refered to
# use 'default' as contents of script
val = getattr(self, attr)
if val or default:
......
......@@ -394,7 +394,7 @@ class build_ext (Command):
# elegant, but people seem to expect it and I
# guess it's useful)
# The environment variable should take precedence, and
# any sensible compiler will give precendence to later
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
extra_args = ext.extra_compile_args or []
......
......@@ -46,7 +46,7 @@ class build_scripts (Command):
"""Copy each script listed in 'self.scripts'; if it's marked as a
Python script in the Unix way (first line matches 'first_line_re',
ie. starts with "\#!" and contains "python"), then adjust the first
line to refer to the current Python intepreter as we copy.
line to refer to the current Python interpreter as we copy.
"""
outfiles = []
self.mkpath(self.build_dir)
......
......@@ -18,7 +18,7 @@ class install_data (Command):
user_options = [
('install-dir=', 'd',
"base directory for installating data files "
"base directory for installing data files "
"(default: installation base dir)"),
('root=', None,
"install everything relative to this alternate root directory"),
......
......@@ -145,7 +145,7 @@ class CygwinCCompiler (UnixCCompiler):
]
# who wants symbols and a many times larger output file
# should explicitely switch the debug mode on
# should explicitly switch the debug mode on
# otherwise we let dllwrap strip the output file
# (On my machine unstripped_file = stripped_file + 254KB
# 10KB < stripped_file < ??100KB )
......
......@@ -167,7 +167,7 @@ class Distribution:
# It's only safe to query 'have_run' for a command class that has
# been instantiated -- a false value will be inserted when the
# command object is created, and replaced with a true value when
# the command is succesfully run. Thus it's probably best to use
# the command is successfully run. Thus it's probably best to use
# '.get()' rather than a straight lookup.
self.have_run = {}
......@@ -677,7 +677,7 @@ class Distribution:
def get_command_obj (self, command, create=1):
"""Return the command object for 'command'. Normally this object
is cached on a previous call to 'get_command_obj()'; if no comand
is cached on a previous call to 'get_command_obj()'; if no command
object for 'command' is in the cache, then we either create and
return it (if 'create' is true) or return None.
"""
......
......@@ -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/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment