Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e466faa commit b57dbe5Copy full SHA for b57dbe5
1 file changed
Lib/contextlib.py
@@ -193,14 +193,6 @@ class _AsyncGeneratorContextManager(
193
):
194
"""Helper for @asynccontextmanager decorator."""
195
196
- def __call__(self, func):
197
- @wraps(func)
198
- async def inner(*args, **kwds):
199
- async with self.__class__(self.func, self.args, self.kwds):
200
- return await func(*args, **kwds)
201
-
202
- return inner
203
204
async def __aenter__(self):
205
# do not keep args and kwds alive unnecessarily
206
# they are only needed for recreation, which is not possible anymore
0 commit comments