Advertisement
tinyevil

Untitled

Dec 7th, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. def foo(runq, callback):
  2. do_something_with_runq(runq)
  3. bar()
  4.  
  5. def bar(callback):
  6. baz(callback)
  7.  
  8. def baz(callback):
  9. callback(get_global_runq()) <-- this
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement