Skip to content

Commit

Permalink
Add note about missing itertools functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ziima committed Dec 18, 2023
1 parent 83e06f8 commit b850383
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/api/itertools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ The itertools library
The :py:mod:`asyncstdlib.itertools` library implements
Python's :py:mod:`itertools` for (async) functions and (async) iterables.

.. note::

Only functions which benefit from an explicit ``async`` implementation are provided.
Other functions from ``itertools`` can be turned asynchronous using :py:func:`~asyncstdlib.iter`,
e.g. `asyncstdlib.iter(itertools.count(5))`.

.. note::

To avoid leaking resources, all utilities in this module explicitly close their
Expand Down

0 comments on commit b850383

Please sign in to comment.