def module_description_list(head):
 r = []
 if head:
  item = head
  while item:
   item = item.contents
   r.append((item.name, item.shortname, item.longname, item.help))
   item = item.next
  libvlc_module_description_list_release(head)
 return r

def module_description_list ( head ) : r = [ ] if head : item = head while item : item = item . contents r . append ( ( item . name , item . shortname , item . longname , item . help ) ) item = item . next libvlc_module_description_list_release ( head ) return r
convert a moduledescription linked list to a python list .