Skip to content

Commit 142e9ee

Browse files
authored
Merge pull request #526 from kianmeng/fix-typos
Fix typos
2 parents 663e88a + de0a4ac commit 142e9ee

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

toolz/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
268268
# TAG-NUM-gHEX
269269
mo = re.search(r'^(.+)-(\d+)-g([0-9a-f]+)$', git_describe)
270270
if not mo:
271-
# unparseable. Maybe git-describe is misbehaving?
271+
# unparsable. Maybe git-describe is misbehaving?
272272
pieces["error"] = ("unable to parse git-describe output: '%s'"
273273
% describe_out)
274274
return pieces

toolz/sandbox/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class EqualityHashKey(object):
4040
[[], (), [1], [2], {}]
4141
4242
**Warning:** don't change the equality value of an item already in a hash
43-
containter. Unhashable types are unhashable for a reason. For example:
43+
container. Unhashable types are unhashable for a reason. For example:
4444
4545
>>> L1 = [1] ; L2 = [2]
4646
>>> s = set(map(EqualityHashDefault, [L1, L2]))

toolz/sandbox/tests/test_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _assert_initial_matches(a, b, n=10):
9191
== [['a', 'b', 'c'], [1, 2, 3]]
9292

9393
# Can handle a finite number of infinite iterators (the naive unzip
94-
# implementation `zip(*args)` impelementation fails on this example).
94+
# implementation `zip(*args)` implementation fails on this example).
9595
a, b, c = unzip(zip(count(1), repeat(0), repeat(1)))
9696
_assert_initial_matches(a, count(1))
9797
_assert_initial_matches(b, repeat(0))

versioneer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
`setup.cfg`, and `tox.ini`. Projects like these produce multiple PyPI
181181
distributions (and upload multiple independently-installable tarballs).
182182
* Source trees whose main purpose is to contain a C library, but which also
183-
provide bindings to Python (and perhaps other langauges) in subdirectories.
183+
provide bindings to Python (and perhaps other languages) in subdirectories.
184184
185185
Versioneer will look for `.git` in parent directories, and most operations
186186
should get the right version string. However `pip` and `setuptools` have bugs
@@ -688,7 +688,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
688688
# TAG-NUM-gHEX
689689
mo = re.search(r'^(.+)-(\d+)-g([0-9a-f]+)$', git_describe)
690690
if not mo:
691-
# unparseable. Maybe git-describe is misbehaving?
691+
# unparsable. Maybe git-describe is misbehaving?
692692
pieces["error"] = ("unable to parse git-describe output: '%%s'"
693693
%% describe_out)
694694
return pieces
@@ -1080,7 +1080,7 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
10801080
# TAG-NUM-gHEX
10811081
mo = re.search(r'^(.+)-(\d+)-g([0-9a-f]+)$', git_describe)
10821082
if not mo:
1083-
# unparseable. Maybe git-describe is misbehaving?
1083+
# unparsable. Maybe git-describe is misbehaving?
10841084
pieces["error"] = ("unable to parse git-describe output: '%s'"
10851085
% describe_out)
10861086
return pieces

0 commit comments

Comments
 (0)