mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fixed a grab-bag of typos spotted by Rob Hooft.
This commit is contained in:
parent
aa5372caa7
commit
612eb9f58f
9 changed files with 11 additions and 11 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue