parameters: (self, thing)
return_statement: return ids
docstring: Return a list of list ids found within a variable.
  
          This handles lists, dictionaries, and nested combinations of these.
          Other objects are ignored.
  
          This method is used to check aliasing of lists.
docstring_summary: Return a list of list ids found within a variable.
docstring_tokens: Return a list of list ids found within a variable .
function: def _get_list_ids(self, thing):
          """
          Return a list of list ids found within a variable.
  
          This handles lists, dictionaries, and nested combinations of these.
          Other objects are ignored.
  
          This method is used to check aliasing of lists.
  
          """
          ids = []
          if isinstance(thing, list):
              ids.append(id(thing))
              if isinstance(thing, list) or isinstance(thing[0], dict):
                  for other_thing in thing:
                      ids.extend(self._get_list_ids(other_thing))
              return ids
          elif isinstance(thing, dict):
              for other_thing in thing.values():
                  ids.extend(self._get_list_ids(other_thing))
          return ids
function_tokens: def _get_list_ids ( self , thing ) : ids = [ ] if isinstance ( thing , list ) : ids . append ( id ( thing ) ) if isinstance ( thing , list ) or isinstance ( thing [ 0 ] , dict ) : for other_thing in thing : ids . extend ( self . _get_list_ids ( other_thing ) ) return ids elif isinstance ( thing , dict ) : for other_thing in thing . values ( ) : ids . extend ( self . _get_list_ids ( other_thing ) ) return ids