From 4a0a5da740cd8a6ef2d8bb47d1f07c07bff93e20 Mon Sep 17 00:00:00 2001 From: Wyn <841141+TheWyn@users.noreply.github.com> Date: Fri, 4 Dec 2020 23:48:24 -0500 Subject: [PATCH] Edit Javascript async example The javascript async example doesn't match the async session example using await for getting the url. --- docs/source/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/index.rst b/docs/source/index.rst index e738ecd..46811b2 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -211,7 +211,7 @@ Or you can do this async also: .. code-block:: pycon - >>> r = asession.get('http://python-requests.org/') + >>> r = await asession.get('http://python-requests.org/') >>> await r.html.arender()