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

This commit is contained in:
Greg Ward 2000-07-27 02:13:20 +00:00
parent aa5372caa7
commit 612eb9f58f
9 changed files with 11 additions and 11 deletions

View File

@ -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.
"""

View File

@ -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

View File

@ -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:

View File

@ -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 []

View File

@ -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)

View File

@ -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"),

View File

@ -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 )

View File

@ -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.
"""

View File

@ -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/