def ExpandSuperClasses(self, t):
    'Generate a list of all (known) superclasses for a type.\n\n    Arguments:\n      t: A type name. E.g. "int".\n\n    Returns:\n      A set of types. This set includes t as well as all its superclasses. For\n      example, this will return "bool", "int" and "object" for "bool".\n    '
    superclasses = set()
    self._CollectSuperclasses(t, superclasses)
    return superclasses
Generate a list of all (known) superclasses for a type.

Arguments:
  t: A type name. E.g. "int".

Returns:
  A set of types. This set includes t as well as all its superclasses. For
  example, this will return "bool", "int" and "object" for "bool".
def ExpandSuperClasses(self, t):
    'Generate a list of all (known) superclasses for a type.\n\n    Arguments:\n      t: A type name. E.g. "int".\n\n    Returns:\n      A set of types. This set includes t as well as all its superclasses. For\n      example, this will return "bool", "int" and "object" for "bool".\n    '
    superclasses = set()
    self._CollectSuperclasses(t, superclasses)
    return superclasses