MCPcopy Index your code
hub / github.com/dabeaz-course/python-mastery / start

Function start

Solutions/8_6/cofollow.py:26–29  ·  view source on GitHub ↗
(*args,**kwargs)

Source from the content-addressed store, hash-verified

24def consumer(func):
25 @wraps(func)
26 def start(*args,**kwargs):
27 f = func(*args,**kwargs)
28 f.send(None)
29 return f
30 return start
31
32# Sample coroutine

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected