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

Function start

Solutions/8_3/cofollow.py:20–23  ·  view source on GitHub ↗
(*args,**kwargs)

Source from the content-addressed store, hash-verified

18def consumer(func):
19 @wraps(func)
20 def start(*args,**kwargs):
21 f = func(*args,**kwargs)
22 f.send(None)
23 return f
24 return start
25
26# Sample coroutine

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected