From 1c7c1b767603bab3f6e4e556678a8f823b2771ab Mon Sep 17 00:00:00 2001 From: Philip Meier Date: Fri, 6 Sep 2024 11:15:03 +0200 Subject: [PATCH] merge cells in example --- examples/plot_12_async.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/plot_12_async.py b/examples/plot_12_async.py index ef9540d..1ff79f3 100644 --- a/examples/plot_12_async.py +++ b/examples/plot_12_async.py @@ -32,9 +32,8 @@ async def afn(): # %% # Without any handling, the snippet above would trigger a `SyntaxError`, since we are using `await` outside of an # asynchronous context. With the background handling, it works just fine. - -# %% -# Apart from `await` all other asynchronous syntax is supported as well. +# +# Apart from `await` that we used above, all other asynchronous syntax is supported as well. # # ## Asynchronous Generators