Fix syntax error (#582)
This commit is contained in:
parent
26e3060152
commit
2d317ff215
|
@ -1409,7 +1409,7 @@ for example::
|
|||
c = None # type: Coroutine[List[str], str, int]
|
||||
...
|
||||
x = c.send('hi') # type: List[str]
|
||||
async def bar(): -> None:
|
||||
async def bar() -> None:
|
||||
x = await c # type: int
|
||||
|
||||
The module also provides generic ABCs ``Awaitable``,
|
||||
|
|
Loading…
Reference in New Issue