We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50f0a07 commit 3d152c0Copy full SHA for 3d152c0
setup.py
@@ -208,8 +208,8 @@ def g():
208
if k:
209
return k()
210
def my_yield(value, cc):
211
- k << cc
212
- cc = identity
+ k << cc # rebind the k in the @dlet env
+ cc = identity # override current continuation
213
return value
214
# generator body
215
call_cc[my_yield(1)]
0 commit comments