parameters: (mylist, i, default=None)
docstring: return list item number, or default if don't exist
docstring_summary: return list item number, or default if don't exist
docstring_tokens: return list item number or default if don t exist
function: def _get_or_default(mylist, i, default=None):
      """return list item number, or default if don't exist"""
      if i >= len(mylist):
          return default
      else :
          return mylist[i]
function_tokens: def _get_or_default ( mylist , i , default = None ) : if i >= len ( mylist ) : return default else : return mylist [ i ]