def lifted_f(a, indices):
 object()
 for idx in indices:
  sleep((10 * sleep_factor))
  a[idx] = PyThread_get_thread_ident()

def lifted_f ( a , indices ) : object ( ) for idx in indices : sleep ( ( 10 * sleep_factor ) ) a [ idx ] = PyThread_get_thread_ident ( )
same as f() .