code: def _typedefof(obj, save=False, **opts):
      '''Get the typedef for an object.
      '''
      k = _objkey(obj)
      v = _typedefs.get(k, None)
      if not v:  # new typedef
          v = _typedef(obj, **opts)
          if save:
              _typedefs[k] = v
      return f _typedefof(obj, save=False, **opts):
      '''Get the typedef for an object.
      '''
      k = _objkey(obj)
      v = _typedefs.get(k, None)
      if not v:  # new typedef
          v = _typedef(obj, **opts)
          if save:
              _typedefs[k] = v
      return v
docs: Get the typedef for an object.