Fix markup.
This commit is contained in:
parent
08aaa86f8d
commit
86fce1264c
|
@ -246,7 +246,7 @@ implementation, and *asynchronous iterator* can call asynchronous code in its
|
||||||
2. An *asynchronous iterator object* must implement an ``__anext__`` method
|
2. An *asynchronous iterator object* must implement an ``__anext__`` method
|
||||||
returning an *awaitable*.
|
returning an *awaitable*.
|
||||||
|
|
||||||
3. To stop iteration```__anext__`` must raise a ``StopAsyncIteration``
|
3. To stop iteration ``__anext__`` must raise a ``StopAsyncIteration``
|
||||||
exception.
|
exception.
|
||||||
|
|
||||||
An example of asynchronous iterable::
|
An example of asynchronous iterable::
|
||||||
|
|
Loading…
Reference in New Issue