Skip to content
Merged
Show file tree
Hide file tree
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
Next Next commit
Update clinic
  • Loading branch information
rhettinger committed Dec 8, 2022
commit 8089281625b341380f1982977f1aed4f05e5cfb1
12 changes: 6 additions & 6 deletions Modules/clinic/itertoolsmodule.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Modules/itertoolsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ or when the input iterable is exhausted.
>>> for batch in batched('ABCDEFG', 3):
... print(batch)
...
['A', 'B', 'C']
['D', 'E', 'F']
['G']
('A', 'B', 'C')
('D', 'E', 'F')
('G',)

[clinic start generated code]*/

static PyObject *
batched_new_impl(PyTypeObject *type, PyObject *iterable, Py_ssize_t n)
/*[clinic end generated code: output=7ebc954d655371b6 input=f28fd12cb52365f0]*/
/*[clinic end generated code: output=7ebc954d655371b6 input=ecf306e1654bf0a2]*/
{
PyObject *it;
batchedobject *bo;
Expand Down