diff --git a/doc/how_to/interactivity/bind_generators.md b/doc/how_to/interactivity/bind_generators.md index b660b820d4..8c504e5b9d 100644 --- a/doc/how_to/interactivity/bind_generators.md +++ b/doc/how_to/interactivity/bind_generators.md @@ -48,7 +48,7 @@ async def slideshow(): img, _ = await asyncio.gather(pyfetch(url), asyncio.sleep(1)) yield pn.pane.JPG(await img.bytes()) - import aiohttp + import aiohttp async with aiohttp.ClientSession() as session: async with session.get(url) as resp: img, _ = await asyncio.gather(resp.read(), asyncio.sleep(1))