(self, tv=0)
Handle any pending event.
        If tv is 0, will return immediately after handling already-pending
        events.
        Otherwise, defines the maximum amount of time to wait for events, in
        seconds.
Handle any pending event.
        If tv is 0, will return immediately after handling already-pending
        events.
        Otherwise, defines the maximum amount of time to wait for events, in
        seconds.
Handle any pending event . If tv is 0 will return immediately after handling already - pending events . Otherwise defines the maximum amount of time to wait for events in seconds .
def handleEventsTimeout(self, tv=0):
        """
        Handle any pending event.
        If tv is 0, will return immediately after handling already-pending
        events.
        Otherwise, defines the maximum amount of time to wait for events, in
        seconds.
        """
        if tv is None:
            tv = 0
        tv_s = int(tv)
        tv = libusb1.timeval(tv_s, int((tv - tv_s) * 1000000))
        result = libusb1.libusb_handle_events_timeout(self.__context_p,
            byref(tv))
        if result:
            raise libusb1.USBError(result)
def handleEventsTimeout ( self , tv = 0 ) : if tv is None : tv = 0 tv_s = int ( tv ) tv = libusb1 . timeval ( tv_s , int ( ( tv - tv_s ) * 1000000 ) ) result = libusb1 . libusb_handle_events_timeout ( self . __context_p , byref ( tv ) ) if result : raise libusb1 . USBError ( result )