ftd2xx/ftd2xx.py
def call_ft(function: Callable, *args):
    """Call an FTDI function and check the status. Raise exception on error"""
    status = function(*args)
    if status != _ft.FT_OK:
        raise DeviceError(status)
Call an FTDI function and check the status. Raise exception on error
Call an FTDI function and check the status. Raise exception on error
Call an FTDI function and check the status . Raise exception on error
def call_ft(function: Callable, *args):
    status = function(*args)
    if status != _ft.FT_OK:
        raise DeviceError(status)
def call_ft ( function : Callable , * args ) : status = function ( * args ) if status != _ft . FT_OK : raise DeviceError ( status )
Call an FTDI function and check the status.
Call an FTDI function and check the status .
"""Call an FTDI function and check the status. Raise exception on error"""
function
Callable