Skip to content

Commit

Permalink
fix DeprecationWarning (#6749)
Browse files Browse the repository at this point in the history
  • Loading branch information
chiboreache authored May 13, 2022
1 parent e16fb62 commit 08ca779
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ To get something from the web:
html = await response.text()
print("Body:", html[:15], "...")
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
asyncio.run(main())
This prints:

Expand Down

0 comments on commit 08ca779

Please sign in to comment.