human
Complete the below
def cooperative_read(fd):

    ''''Wrap a file descriptor\'s read with a partial function which schedules
    after each read. This can prevent eventlet thread starvation.
    :param fd: a file descriptor to wrap'
    '''

=====
Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.
    def readfn(*args):
        result = fd.read(*args)
        sleep(0)
        return result
    return readfn