]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix docstring and var name of itertools recipe (#112113)
authorSebastian Rittau <srittau@rittau.biz>
Wed, 22 Nov 2023 05:35:36 +0000 (06:35 +0100)
committerGitHub <noreply@github.com>
Wed, 22 Nov 2023 05:35:36 +0000 (07:35 +0200)
commit6c47eaccfa2550c140a24bc6e520d968731d9689
tree04b46e5960d833f4a84ba3987b8a86d1dfefd239
parent4fa376b0059948d4b3d994166b0dc210a4c4f8ec
Fix docstring and var name of itertools recipe (#112113)

`prepend()` works with arbitrary iterables, not only iterators. In fact,
the example given uses a `list`, which is iterable, but not an iterator.
Doc/library/itertools.rst