You are working on the omnilib/aioitertools repository. The source code is checked out at /testbed at commit…
You are working on the omnilib/aioitertools repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). The non-async builtin next takes a default parameter ( docs 0 ) that allows you to specify a return value if the iterator is exhausted.
The task
The non-async builtin `next` takes a `default` parameter ([docs][0]) that allows you to specify a return value if the iterator is exhausted.
Part of Lego-X/Lego-RL-2699.