diff --git a/docs/iterutils.rst b/docs/iterutils.rst index 92198e5..5d98384 100644 --- a/docs/iterutils.rst +++ b/docs/iterutils.rst @@ -16,14 +16,6 @@ These are generators and convenient :class:`list`-producing counterparts comprising several common patterns of iteration not present in the standard library. -.. autofunction:: split -.. autofunction:: split_iter -.. autofunction:: strip -.. autofunction:: strip_iter -.. autofunction:: lstrip -.. autofunction:: lstrip_iter -.. autofunction:: rstrip -.. autofunction:: rstrip_iter .. autofunction:: chunked .. autofunction:: chunked_iter .. autofunction:: pairwise @@ -33,6 +25,21 @@ present in the standard library. .. autofunction:: unique .. autofunction:: unique_iter +Stripping and splitting +----------------------- + +A couple of :class:`str`-inspired mechanics that have come in handy on +iterables, too: + +.. autofunction:: split +.. autofunction:: split_iter +.. autofunction:: strip +.. autofunction:: strip_iter +.. autofunction:: lstrip +.. autofunction:: lstrip_iter +.. autofunction:: rstrip +.. autofunction:: rstrip_iter + Nested ------ @@ -81,6 +88,7 @@ The built-in :func:`sorted()` is great, but what do you do when you want to partially override the sort order? .. autofunction:: soft_sorted +.. autofunction:: untyped_sorted Reduction ---------