[issue45250] Make sure documentation is accurate for what an (async) iterable and (async) iterator are

Brett Cannon report at bugs.python.org
Fri Oct 22 15:41:28 EDT 2021


Brett Cannon <brett at python.org> added the comment:

> One thing I would strongly suggest for consistent terminology: Make "iterator" mean an object that has both "__next()__" and "__iter()__".

The point of this issue, though, is to not make that claim as it's inaccurate.

----------
stage: patch review -> 

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45250>
_______________________________________


More information about the Python-bugs-list mailing list