mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
asyncio: Reincarnate CoroWrapper's docstring as a comment.
This commit is contained in:
parent
59759ff234
commit
e1f554490d
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ _DEBUG = False
|
|||
|
||||
|
||||
class CoroWrapper:
|
||||
# Wrapper for coroutine in _DEBUG mode.
|
||||
|
||||
__slots__ = ['gen', 'func', '__name__', '__doc__']
|
||||
|
||||
def __init__(self, gen, func):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue