code: def save(self, t, base=0, heap=False):
          '''Save this typedef plus its class typedef.
          '''
          c, k = _keytuple(t)
          if k and k not in _typedefs:  # instance key
              _typedefs[k] = self
              if c and c not in _typedefs:  # class key
                  if t.__module__ in _builtin_modules:
                      k = _kind_ignored  # default
                  else:
                      k = self.kind
                  _typedefs[c] = _Typedef(base=_basicsize(type(t), base=base, heap=heap),
                                          refs=_type_refs,
                                          both=False, kind=k, type=t)
          elif isbuiltin(t) and t not in _typedefs:  # array, range, xrange in Python 2.x
              _typedefs[t] = _Typedef(base=_basicsize(t, base=base),
                                      both=False, kind=_kind_ignored, type=t)
          else:
              raise KeyError('asizeof typedef %r bad: %r %r' % (self, (c, k), self.both)f save(self, t, base=0, heap=False):
          '''Save this typedef plus its class typedef.
          '''
          c, k = _keytuple(t)
          if k and k not in _typedefs:  # instance key
              _typedefs[k] = self
              if c and c not in _typedefs:  # class key
                  if t.__module__ in _builtin_modules:
                      k = _kind_ignored  # default
                  else:
                      k = self.kind
                  _typedefs[c] = _Typedef(base=_basicsize(type(t), base=base, heap=heap),
                                          refs=_type_refs,
                                          both=False, kind=k, type=t)
          elif isbuiltin(t) and t not in _typedefs:  # array, range, xrange in Python 2.x
              _typedefs[t] = _Typedef(base=_basicsize(t, base=base),
                                      both=False, kind=_kind_ignored, type=t)
          else:
              raise KeyError('asizeof typedef %r bad: %r %r' % (self, (c, k), self.both))
docs: Save this typedef plus its class typedef.