parameters: (self, index)
docstring: Item access: backwards compatible -> (port, desc, hwid)
docstring_summary: Item access: backwards compatible -> (port, desc, hwid)
docstring_tokens: Item access : backwards compatible - > ( port desc hwid )
function: def __getitem__(self, index):
          """Item access: backwards compatible -> (port, desc, hwid)"""
          if index == 0:
              return self.device
          elif index == 1:
              return self.description
          elif index == 2:
              return self.hwid
          else:
              raise IndexError('{} > 2'.format(index))
function_tokens: def __getitem__ ( self , index ) : if index == 0 : return self . device elif index == 1 : return self . description elif index == 2 : return self . hwid else : raise IndexError ( '{} > 2' . format ( index ) )