mirror of https://github.com/python/cpython
parent
3763f2bc07
commit
4d7a29c5de
|
@ -34,7 +34,7 @@ _DEBUG = False
|
|||
class CoroWrapper:
|
||||
"""Wrapper for coroutine in _DEBUG mode."""
|
||||
|
||||
__slot__ = ['gen', 'func']
|
||||
__slots__ = ['gen', 'func']
|
||||
|
||||
def __init__(self, gen, func):
|
||||
assert inspect.isgenerator(gen), gen
|
||||
|
|
Loading…
Reference in New Issue