parameters: (objs)
return_statement: return res
docstring: Return a list with distinct elements of "objs" (different ids).
      Preserves order.
docstring_summary: Return a list with distinct elements of "objs" (different ids).
      Preserves order.
docstring_tokens: Return a list with distinct elements of objs ( different ids ) . Preserves order .
function: def _get_distinct_objs(objs):
      """
      Return a list with distinct elements of "objs" (different ids).
      Preserves order.
      """
      ids = set()
      res = []
      for obj in objs:
          if not id(obj) in ids:
              ids.add(id(obj))
              res.append(obj)
      return res
function_tokens: def _get_distinct_objs ( objs ) : ids = set ( ) res = [ ] for obj in objs : if not id ( obj ) in ids : ids . add ( id ( obj ) ) res . append ( obj ) return res