fork download
  1. def f(x):
  2. print 'entered f(x)'
  3. hash = { 1: g(x) }
  4. print 'about to exit f(x)...'
  5. return hash[1]
  6.  
  7.  
  8. def g(x):
  9. print 'this is g(x)'
  10.  
  11. f(1)
Success #stdin #stdout 0.09s 10928KB
stdin
Standard input is empty
stdout
entered f(x)
this is g(x)
about to exit f(x)...