Skip to content

Commit 7345ffb

Browse files
eteaminwebknjaz
authored andcommitted
Fix await typo in quickstart doc
PR aio-libs#3649 by @eteamin
1 parent 532322e commit 7345ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/client_quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Any of session's request methods like :func:`request`,
178178
`json` parameter::
179179

180180
async with aiohttp.ClientSession() as session:
181-
async with session.post(url, json={'test': 'object'})
181+
await session.post(url, json={'test': 'object'})
182182

183183

184184
By default session uses python's standard :mod:`json` module for

0 commit comments

Comments
 (0)