Skip to content

Instantly share code, notes, and snippets.

@mkmik
Created July 16, 2012 10:11
Show Gist options
  • Save mkmik/3121929 to your computer and use it in GitHub Desktop.
Save mkmik/3121929 to your computer and use it in GitHub Desktop.
import stackless
t = stackless.tasklet(lambda: 12)()
print t.switch()
print t.switch()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment