Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumIterator #321

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
checkpoint
  • Loading branch information
moshez committed Dec 12, 2022
commit b84106d0a648070ef82140f88d8be8941aff91ce
9 changes: 9 additions & 0 deletions docs/iterutils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,12 @@ In the same vein as the feature-checking builtin, :func:`callable`.
.. autofunction:: is_iterable
.. autofunction:: is_scalar
.. autofunction:: is_collection

Numeric Iterators
-----------------

A class to wrap iterators producing numbers
to allow it to support arithmetic operations
and slicing.

.. autoclass:: NumIterator