Skip to content

Commit

Permalink
Temporarily go down to 3.5 again
Browse files Browse the repository at this point in the history
  • Loading branch information
bbayles committed Nov 24, 2021
1 parent 1b1a35a commit 38abb58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions more_itertools/more.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,13 +643,13 @@ def strictly_n(iterable, n, too_short=None, too_long=None):
if too_short is None:
too_short = lambda item_count: raise_(
ValueError,
f'Too few items in iterable (got {item_count})',
'Too few items in iterable (got {})'.format(item_count),
)

if too_long is None:
too_long = lambda item_count: raise_(
ValueError,
f'Too many items in iterable (got at least {item_count})',
'Too many items in iterable (got at least {})'.format(item_count),
)

it = iter(iterable)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_long_description():
license='MIT',
packages=['more_itertools'],
package_data={'more_itertools': ['py.typed', '*.pyi']},
python_requires='>=3.6',
python_requires='>=3.5',
url='https://github.com/more-itertools/more-itertools',
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down

0 comments on commit 38abb58

Please sign in to comment.