code: def loads(self, string):
          "Decompress the passed-in compact script and return the result."
          script_class = self.get_script_class()
          script = self._load(BytesIO(string), self._protocol, self._version)
          return script_class(scriptf loads(self, string):
          "Decompress the passed-in compact script and return the result."
          script_class = self.get_script_class()
          script = self._load(BytesIO(string), self._protocol, self._version)
          return script_class(script)
docs: Decompress the passed-in compact script and return the result.