def buffer(self, data):
        '''
        Buffer unused bytes from the input stream.
        '''
        self._read_lock.acquire()
        try:
            return super(GeventTransport, self).buffer(data)
        finally:
            self._read_lock.release()
def buffer ( self , data ) : self . _read_lock . acquire ( ) try : return super ( GeventTransport , self ) . buffer ( data ) finally : self . _read_lock . release ( )
Buffer unused bytes from the input stream.