def endpoint_type(bmAttributes):
 return (bmAttributes & _ENDPOINT_TRANSFER_TYPE_MASK)

def endpoint_type ( bmAttributes ) : return ( bmAttributes & _ENDPOINT_TRANSFER_TYPE_MASK )
return the transfer type of the endpoint .