Python 3.5. The keywords are designed to make it more clear your code is asynchronous; so your methods are not confused with generators. The async keyword goes before def to show that a method is asynchronous. The await keyword replaces yield from and makes it more clear that you are waiting for a coroutine to finish. Here is our example again but with the async/await keywords.
Asynchronous Python
Nick Humrich
21517

nice one

Show your support

Clapping shows how much you appreciated pan John’s story.