Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix
  • Loading branch information
heckad committed May 29, 2020
commit 7d1243a3ba75104f0f72215003027672199d348b
2 changes: 1 addition & 1 deletion Lib/contextlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __recreate_cm(self):

def __call__(self, func):
@wraps(func)
def inner(*args, **kwds):
async def inner(*args, **kwds):
async with self._recreate_cm():
return await func(*args, **kwds)
return inner
Expand Down