diff options
-rw-r--r-- | README.rst | 1 | ||||
-rw-r--r-- | docs/api.rst | 1 | ||||
-rw-r--r-- | docs/versions.rst | 15 | ||||
-rw-r--r-- | more_itertools/__init__.py | 2 | ||||
-rw-r--r-- | setup.cfg | 2 |
5 files changed, 19 insertions, 2 deletions
@@ -38,6 +38,7 @@ Python iterables. | | `pairwise <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.pairwise>`_, | | | `triplewise <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.triplewise>`_, | | | `sliding_window <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.sliding_window>`_ | +| | `subslices <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.subslices>`_, | +------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Augmenting | `count_cycle <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.count_cycle>`_, | | | `intersperse <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.intersperse>`_, | diff --git a/docs/api.rst b/docs/api.rst index 84890e1..fb5a328 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -72,6 +72,7 @@ These tools yield windows of items from an iterable. .. autofunction:: pairwise .. autofunction:: triplewise .. autofunction:: sliding_window +.. autofunction:: subslices Augmenting diff --git a/docs/versions.rst b/docs/versions.rst index c9ec018..58654a7 100644 --- a/docs/versions.rst +++ b/docs/versions.rst @@ -5,6 +5,21 @@ Version History .. automodule:: more_itertools :noindex: +8.13.0 +------ + +* New functions + * The :func:`subslices` recipe from the `itertools` docs was added (thanks to rhettinger) + +* Changes to existing functions + * The :func:`ichunked` function is now more efficient (thanks to hjtran0 and seanmacavaney) + * The :func:`difference` function is now more efficient (thanks to Masynchin) + * The :func:`grouper` recipe now has more features, mirroring the one in the `itertools` docs (thanks to rhettinger) + +* Other changes + * Some documentation issues were fixed (thanks to medvied and Freed-Wu) + * The `more_itertools` package is now built with `flit` (thanks to mgorny) + 8.12.0 ------ diff --git a/more_itertools/__init__.py b/more_itertools/__init__.py index c730f3b..7c3091a 100644 --- a/more_itertools/__init__.py +++ b/more_itertools/__init__.py @@ -3,4 +3,4 @@ from .more import * # noqa from .recipes import * # noqa -__version__ = '8.12.0' +__version__ = '8.13.0' @@ -1,5 +1,5 @@ [bumpversion] -current_version = 8.12.0 +current_version = 8.13.0 commit = True tag = False files = more_itertools/__init__.py |