Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed typo with asynccontextmanager
  • Loading branch information
alvassin authored Aug 21, 2018
commit b83b70f128f6cdb8f77c8a59c22339e33620da63
2 changes: 1 addition & 1 deletion Doc/library/contextlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Functions and classes provided:
async def get_connection():
conn = await acquire_db_connection()
try:
yield
yield conn
finally:
await release_db_connection(conn)

Expand Down