code: def __list_updates(update_type, update_list):
      
      if len(update_list):
          print("  %s:" % update_type)
          for update_item in update_list:
              print("  -- %(version)s on %(upload_time)s" % update_item)
docs: Function used to list package updates by update type in console
  
      :param update_type: string
      :param update_list: list