Skip to content

Commit

Permalink
Fix long line
Browse files Browse the repository at this point in the history
  • Loading branch information
bbayles committed Apr 18, 2018
1 parent 081f4f5 commit 23dabb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions more_itertools/more.py
Expand Up @@ -1346,8 +1346,8 @@ def groupby_transform(iterable, keyfunc=None, valuefunc=None):
[(0, 'ab'), (1, 'cde'), (2, 'fgh'), (3, 'i')]
Note that the order of items in the iterable is significant.
Only adjacent items are grouped together, so if you don't want any duplicate
groups, you should sort the iterable by the key function.
Only adjacent items are grouped together, so if you don't want any
duplicate groups, you should sort the iterable by the key function.
"""
valuefunc = (lambda x: x) if valuefunc is None else valuefunc
Expand Down

0 comments on commit 23dabb2

Please sign in to comment.