Skip to content

Commit

Permalink
Merge pull request #547 from more-itertools/version-8.9.0
Browse files Browse the repository at this point in the history
Version 8.9.0
  • Loading branch information
bbayles committed Sep 3, 2021
2 parents 86f6857 + 1e6f5f5 commit 3df138f
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Python iterables.
| | `interleave_evenly <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.interleave_evenly>`_, |
| | `zip_offset <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.zip_offset>`_, |
| | `zip_equal <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.zip_equal>`_, |
| | `zip_broadcast <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.zip_broadcast>`_, |
| | `dotproduct <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.dotproduct>`_, |
| | `convolve <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.convolve>`_, |
| | `flatten <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.flatten>`_, |
Expand Down
15 changes: 15 additions & 0 deletions docs/versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ Version History
.. automodule:: more_itertools
:noindex:

8.9.0
-----

* New functions
* :func:`interleave_evenly` (thanks to mbugert)
* :func:`repeat_each` (thanks to FinalSh4re)
* :func:`chunked_even` (thanks to valtron)
* :func:`map_if` (thanks to sassbalint)
* :func:`zip_broadcast` (thanks to kalekundert)

* Changes to existing functions
* The type stub for :func:`chunked` was improved (thanks to PhilMacKay)
* The type stubs for :func:`zip_equal` and `zip_offset` were improved (thanks to maffoo)
* Building Sphinx docs locally was improved (thanks to MarcinKonowalczyk)

8.8.0
-----

Expand Down
2 changes: 1 addition & 1 deletion more_itertools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .more import * # noqa
from .recipes import * # noqa

__version__ = '8.8.0'
__version__ = '8.9.0'
2 changes: 1 addition & 1 deletion more_itertools/more.py
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,7 @@ def padded(iterable, fillvalue=None, n=None, next_multiple=False):


def repeat_each(iterable, n=2):
"""Repeats each element in *iterable* _n_ times.
"""Repeat each element in *iterable* *n* times.
>>> list(repeat_each('ABC', 3))
['A', 'A', 'A', 'B', 'B', 'B', 'C', 'C', 'C']
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 8.8.0
current_version = 8.9.0
commit = True
tag = False
files = more_itertools/__init__.py
Expand Down

0 comments on commit 3df138f

Please sign in to comment.