def patch_time():
 from gevent.hub import sleep
 import time
 patch_item(time, 'sleep', sleep)

def patch_time ( ) : from gevent . hub import sleep import time patch_item ( time , 'sleep' , sleep )
replace :func:time .