Skip to content

Commit

Permalink
Merge branch 'vtbassmatt-asyncio-py3.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbrittain committed Apr 20, 2022
2 parents a502101 + d2dfd08 commit 0a47539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/animation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ For example, here is how you can run inside an asyncio event loop.
screen.set_scenes([Scene(effects, 500)])
# Schedule the first call to display_date()
loop = asyncio.get_event_loop()
loop = asyncio.new_event_loop()
end_time = loop.time() + 5.0
loop.call_soon(update_screen, end_time, loop, screen)
Expand Down

0 comments on commit 0a47539

Please sign in to comment.