Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
dc379c93
Commit
dc379c93
authored
Jul 27, 2000
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a grab-bag of typos spotted by Rob Hooft.
parent
305f9c11
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
11 additions
and
11 deletions
+11
-11
Lib/distutils/ccompiler.py
Lib/distutils/ccompiler.py
+1
-1
Lib/distutils/cmd.py
Lib/distutils/cmd.py
+1
-1
Lib/distutils/command/bdist_rpm.py
Lib/distutils/command/bdist_rpm.py
+1
-1
Lib/distutils/command/build_ext.py
Lib/distutils/command/build_ext.py
+1
-1
Lib/distutils/command/build_scripts.py
Lib/distutils/command/build_scripts.py
+1
-1
Lib/distutils/command/install_data.py
Lib/distutils/command/install_data.py
+1
-1
Lib/distutils/cygwinccompiler.py
Lib/distutils/cygwinccompiler.py
+1
-1
Lib/distutils/dist.py
Lib/distutils/dist.py
+2
-2
Lib/distutils/util.py
Lib/distutils/util.py
+2
-2
No files found.
Lib/distutils/ccompiler.py
View file @
dc379c93
...
@@ -304,7 +304,7 @@ class CCompiler:
...
@@ -304,7 +304,7 @@ class CCompiler:
def
add_link_object
(
self
,
object
):
def
add_link_object
(
self
,
object
):
"""Add 'object' to the list of object files (or analogues, such as
"""Add 'object' to the list of object files (or analogues, such as
explictly named library files or the output of "resource
explic
i
tly named library files or the output of "resource
compilers") to be included in every link driven by this compiler
compilers") to be included in every link driven by this compiler
object.
object.
"""
"""
...
...
Lib/distutils/cmd.py
View file @
dc379c93
...
@@ -55,7 +55,7 @@ class Command:
...
@@ -55,7 +55,7 @@ class Command:
# commands fallback on the Distribution's behaviour. None means
# commands fallback on the Distribution's behaviour. None means
# "not defined, check self.distribution's copy", while 0 or 1 mean
# "not defined, check self.distribution's copy", while 0 or 1 mean
# false and true (duh). Note that this means figuring out the real
# 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 complicat
e
d -- hence "self.verbose"
# (etc.) will be handled by __getattr__, below.
# (etc.) will be handled by __getattr__, below.
self
.
_verbose
=
None
self
.
_verbose
=
None
self
.
_dry_run
=
None
self
.
_dry_run
=
None
...
...
Lib/distutils/command/bdist_rpm.py
View file @
dc379c93
...
@@ -400,7 +400,7 @@ class bdist_rpm (Command):
...
@@ -400,7 +400,7 @@ class bdist_rpm (Command):
]
]
for
(
rpm_opt
,
attr
,
default
)
in
script_options
:
for
(
rpm_opt
,
attr
,
default
)
in
script_options
:
# Insert contents of file refered to, if no file is refered to
# Insert contents of file refer
r
ed to, if no file is refered to
# use 'default' as contents of script
# use 'default' as contents of script
val
=
getattr
(
self
,
attr
)
val
=
getattr
(
self
,
attr
)
if
val
or
default
:
if
val
or
default
:
...
...
Lib/distutils/command/build_ext.py
View file @
dc379c93
...
@@ -394,7 +394,7 @@ class build_ext (Command):
...
@@ -394,7 +394,7 @@ class build_ext (Command):
# elegant, but people seem to expect it and I
# elegant, but people seem to expect it and I
# guess it's useful)
# guess it's useful)
# The environment variable should take precedence, and
# The environment variable should take precedence, and
# any sensible compiler will give prece
n
dence to later
# any sensible compiler will give precedence to later
# command line args. Hence we combine them in order:
# command line args. Hence we combine them in order:
extra_args
=
ext
.
extra_compile_args
or
[]
extra_args
=
ext
.
extra_compile_args
or
[]
...
...
Lib/distutils/command/build_scripts.py
View file @
dc379c93
...
@@ -46,7 +46,7 @@ class build_scripts (Command):
...
@@ -46,7 +46,7 @@ class build_scripts (Command):
"""Copy each script listed in '
self
.
scripts
'; if it'
s
marked
as
a
"""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'
,
Python
script
in
the
Unix
way
(
first
line
matches
'first_line_re'
,
ie
.
starts
with
"
\
#!
"
and contains "
python
"), then adjust the first
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 inte
r
preter as we copy.
"""
"""
outfiles = []
outfiles = []
self.mkpath(self.build_dir)
self.mkpath(self.build_dir)
...
...
Lib/distutils/command/install_data.py
View file @
dc379c93
...
@@ -18,7 +18,7 @@ class install_data (Command):
...
@@ -18,7 +18,7 @@ class install_data (Command):
user_options
=
[
user_options
=
[
(
'install-dir='
,
'd'
,
(
'install-dir='
,
'd'
,
"base directory for install
at
ing data files "
"base directory for installing data files "
"(default: installation base dir)"
),
"(default: installation base dir)"
),
(
'root='
,
None
,
(
'root='
,
None
,
"install everything relative to this alternate root directory"
),
"install everything relative to this alternate root directory"
),
...
...
Lib/distutils/cygwinccompiler.py
View file @
dc379c93
...
@@ -145,7 +145,7 @@ class CygwinCCompiler (UnixCCompiler):
...
@@ -145,7 +145,7 @@ class CygwinCCompiler (UnixCCompiler):
]
]
# who wants symbols and a many times larger output file
# who wants symbols and a many times larger output file
# should explicit
e
ly switch the debug mode on
# should explicitly switch the debug mode on
# otherwise we let dllwrap strip the output file
# otherwise we let dllwrap strip the output file
# (On my machine unstripped_file = stripped_file + 254KB
# (On my machine unstripped_file = stripped_file + 254KB
# 10KB < stripped_file < ??100KB )
# 10KB < stripped_file < ??100KB )
...
...
Lib/distutils/dist.py
View file @
dc379c93
...
@@ -167,7 +167,7 @@ class Distribution:
...
@@ -167,7 +167,7 @@ class Distribution:
# It's only safe to query 'have_run' for a command class that has
# It's only safe to query 'have_run' for a command class that has
# been instantiated -- a false value will be inserted when the
# been instantiated -- a false value will be inserted when the
# command object is created, and replaced with a true value when
# 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 succes
s
fully run. Thus it's probably best to use
# '.get()' rather than a straight lookup.
# '.get()' rather than a straight lookup.
self
.
have_run
=
{}
self
.
have_run
=
{}
...
@@ -677,7 +677,7 @@ class Distribution:
...
@@ -677,7 +677,7 @@ class Distribution:
def
get_command_obj
(
self
,
command
,
create
=
1
):
def
get_command_obj
(
self
,
command
,
create
=
1
):
"""Return the command object for 'command'. Normally this object
"""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 com
m
and
object for 'command' is in the cache, then we either create and
object for 'command' is in the cache, then we either create and
return it (if 'create' is true) or return None.
return it (if 'create' is true) or return None.
"""
"""
...
...
Lib/distutils/util.py
View file @
dc379c93
...
@@ -105,7 +105,7 @@ def check_environ ():
...
@@ -105,7 +105,7 @@ def check_environ ():
guarantee that users can use in config files, command-line
guarantee that users can use in config files, command-line
options, etc. Currently this includes:
options, etc. Currently this includes:
HOME - user's home directory (Unix only)
HOME - user's home directory (Unix only)
PLAT - desription of the current platform, including hardware
PLAT - des
c
ription of the current platform, including hardware
and OS (see 'get_platform()')
and OS (see 'get_platform()')
"""
"""
...
@@ -125,7 +125,7 @@ def check_environ ():
...
@@ -125,7 +125,7 @@ def check_environ ():
def
subst_vars
(
str
,
local_vars
):
def
subst_vars
(
str
,
local_vars
):
"""Perform shell/Perl-style variable substitution on 'string'.
"""Perform shell/Perl-style variable substitution on 'string'.
Every occurence of '$' followed by a name, or a name enclosed in
Every occur
r
ence of '$' followed by a name, or a name enclosed in
braces, is considered a variable. Every variable is substituted by
braces, is considered a variable. Every variable is substituted by
the value found in the 'local_vars' dictionary, or in 'os.environ'
the value found in the 'local_vars' dictionary, or in 'os.environ'
if it's not in 'local_vars'. 'os.environ' is first checked/
if it's not in 'local_vars'. 'os.environ' is first checked/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment