#NEWLINE# @ methodtrace ( _logger ) #NEWLINE# def get_interface_descriptor( self , dev , intf , alt , config ) : #NEWLINE# #INDENT# desc = _usb_interface_desc ( ) #NEWLINE# _check ( _lib . openusb_parse_interface_desc ( _ctx . handle , dev , None , 0 , config , intf , alt , byref ( desc ) ) ) #NEWLINE# desc . extra_descriptors = None #NEWLINE# return desc