code: def wrap(sig):
      
      if isclass(sig) and issubclass(sig, Object):
        return TypeSignature(sig)
      elif isinstance(sig, TypeSignature):
        return sig
docs: Convert a Python class into a type signature.