diff --git a/pep-0492.txt b/pep-0492.txt index b446a19e3..61c926618 100644 --- a/pep-0492.txt +++ b/pep-0492.txt @@ -306,9 +306,9 @@ which is semantically equivalent to:: BLOCK2 -It is an error to pass a regular iterable without ``__aiter__`` method -to ``async for``. It is a ``SyntaxError`` to use ``async for`` outside -of a coroutine. +It is a ``TypeError`` to pass a regular iterable without ``__aiter__`` +method to ``async for``. It is a ``SyntaxError`` to use ``async for`` +outside of a coroutine. As for with regular ``for`` statement, ``async for`` has an optional ``else`` clause.