def _StrippedSignatures(self, t):
    'Given a class, list method name + signature without "self".\n\n    Args:\n      t: A pytd.TYPE.\n\n    Returns:\n      A set of name + signature tuples, with the self parameter of the\n      signature removed.\n    '
    if (not isinstance(t, pytd.ClassType)):
        return {}
    stripped_signatures = {}
    for method in t.cls.methods:
        for sig in method.signatures:
            if (sig.params and (sig.params[0].name == 'self') and isinstance(sig.params[0].type, pytd.ClassType)):
                stripped_signatures[method.name] = (sig.Replace(params=sig.params[1:]), method.is_abstract)
    return stripped_signatures
Given a class, list method name + signature without "self".

Args:
  t: A pytd.TYPE.

Returns:
  A set of name + signature tuples, with the self parameter of the
  signature removed.
def _StrippedSignatures(self, t):
    'Given a class, list method name + signature without "self".\n\n    Args:\n      t: A pytd.TYPE.\n\n    Returns:\n      A set of name + signature tuples, with the self parameter of the\n      signature removed.\n    '
    if (not isinstance(t, pytd.ClassType)):
        return {}
    stripped_signatures = {}
    for method in t.cls.methods:
        for sig in method.signatures:
            if (sig.params and (sig.params[0].name == 'self') and isinstance(sig.params[0].type, pytd.ClassType)):
                stripped_signatures[method.name] = (sig.Replace(params=sig.params[1:]), method.is_abstract)
    return stripped_signatures