Skip to content

Commit a83ea62

Browse files
authored
Merge pull request #188 from DimitriPapadopoulos/codespell
Fix typos found by codespell
2 parents 0171aee + e32c71f commit a83ea62

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

distutils/cygwinccompiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def __init__(self, verbose=0, dry_run=0, force=0):
117117

118118
@property
119119
def gcc_version(self):
120-
# Older numpy dependend on this existing to check for ancient
120+
# Older numpy depended on this existing to check for ancient
121121
# gcc versions. This doesn't make much sense with clang etc so
122122
# just hardcode to something recent.
123123
# https://github.com/numpy/numpy/pull/20333

distutils/tests/test_build_ext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def test_user_site(self):
158158
cmd = self.build_ext(dist)
159159

160160
# making sure the user option is there
161-
options = [name for name, short, lable in cmd.user_options]
161+
options = [name for name, short, label in cmd.user_options]
162162
assert 'user' in options
163163

164164
# setting a value

distutils/tests/test_install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def _expanduser(path):
100100
cmd = install(dist)
101101

102102
# making sure the user option is there
103-
options = [name for name, short, lable in cmd.user_options]
103+
options = [name for name, short, label in cmd.user_options]
104104
assert 'user' in options
105105

106106
# setting a value

distutils/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def _subst(match):
228228
import warnings
229229

230230
warnings.warn(
231-
"shell/Perl-style substitions are deprecated",
231+
"shell/Perl-style substitutions are deprecated",
232232
DeprecationWarning,
233233
)
234234
return repl

0 commit comments

Comments
 (0)