Skip to content

Commit

Permalink
Merge pull request #261 from erikrose/join-func
Browse files Browse the repository at this point in the history
Zap unused parameter in substrings
  • Loading branch information
bbayles committed Jan 7, 2019
2 parents 8ba1ebf + d29d78c commit 73d7498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion more_itertools/more.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ def windowed(seq, n, fillvalue=None, step=1):
yield tuple(window)


def substrings(iterable, join_func=None):
def substrings(iterable):
"""Yield all of the substrings of *iterable*.
>>> [''.join(s) for s in substrings('more')]
Expand Down

0 comments on commit 73d7498

Please sign in to comment.