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 4d7a29c commit bac7793Copy full SHA for bac7793
1 file changed
Lib/asyncio/tasks.py
@@ -32,9 +32,7 @@
32
33
34
class CoroWrapper:
35
- """Wrapper for coroutine in _DEBUG mode."""
36
-
37
- __slots__ = ['gen', 'func']
+ __slots__ = ['gen', 'func', '__name__', '__doc__']
38
39
def __init__(self, gen, func):
40
assert inspect.isgenerator(gen), gen
0 commit comments