Skip to content

Commit b200a12

Browse files
document strict parameter
1 parent f1d4f3a commit b200a12

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/source/api/itertools.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,15 @@ Iterator splitting
8686

8787
.. versionadded:: 3.10.0
8888

89-
.. autofunction:: batched(iterable: (async) iter T, n: int)
89+
.. autofunction:: batched(iterable: (async) iter T, n: int, strict: bool = False)
9090
:async-for: :T
9191

9292
.. versionadded:: 3.11.0
9393

94+
.. versionadded:: 3.13.0
95+
96+
The ``strict`` parameter.
97+
9498
.. py:function:: groupby(iterable: (async) iter T)
9599
:async-for: :(T, async iter T)
96100
:noindex:

0 commit comments

Comments
 (0)