old_contents: 
  import gevent
  
  def schedule(duration, func, *args, **kwargs):
      func(*args, **kwargs)
      gevent.spawn_later(duration, schedule, duration, func, *args, **kwargs).join()
  
new_contents: 
  import gevent
  
  def schedule(duration, func, *args, **kwargs):
      gevent.spawn_later(duration, schedule, duration, func, *args, **kwargs)
      gevent.spawn_later(0, func, *args, **kwargs)
  
subject: modify the way the schedule function works