Skip to content

Commit

Permalink
Merge pull request #156 from EdwardBetts/spelling
Browse files Browse the repository at this point in the history
correct spelling mistakes
  • Loading branch information
bbayles committed Aug 27, 2017
2 parents 17bd544 + 909dd61 commit 0409cb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions more_itertools/more.py
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ def lstrip(iterable, pred):
>>> list(lstrip(iterable, pred))
[1, 2, None, 3, False, None]
This function is analagous to to :func:`str.lstrip`.
This function is analogous to to :func:`str.lstrip`.
"""
return dropwhile(pred, iterable)
Expand All @@ -1379,7 +1379,7 @@ def rstrip(iterable, pred):
>>> list(rstrip(iterable, pred))
[None, False, None, 1, 2, None, 3]
This function is analagous to :func:`str.rstrip`.
This function is analogous to :func:`str.rstrip`.
"""
cache = []
Expand All @@ -1405,7 +1405,7 @@ def strip(iterable, pred):
>>> list(strip(iterable, pred))
[1, 2, None, 3]
This function is analagous to :func:`str.strip`.
This function is analogous to :func:`str.strip`.
"""
return rstrip(lstrip(iterable, pred), pred)
Expand Down

0 comments on commit 0409cb6

Please sign in to comment.