class_docstr: Parameters
  ----------
  ttype
      Type of pytensor variable this list will contains, can be another list.
  depth
      Optional parameters, any value above 0 will create a nested list of
      this depth. (0-based)
class_docstr_tok: ["Parameters","--","--","--","--","--","ttype","Type","of","pytensor","variable","this","list","will","contains",",","can","be","another","list",".","depth","Optional","parameters",",","any","value","above","0","will","create","a","nested","list","of","this","depth",".","(","0-based",")"]
docstr: Two lists are equal if they contain the same type.
docstr_tok: ["Two","lists","are","equal","if","they","contain","the","same","type","."]
code: def __eq__(self, other):
      """
      Two lists are equal if they contain the same type.
  
      """
      return type(self) == type(other) and self.ttype == other.ttype
  
file_path: pytensor/pytensor/typed_list/type.py
imports: from pytensor.link.c.type import CType, Type
label_desc: Use image node_id 3 for calling the TypedListType obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown