if self._api.decode_result: try: ret = json.loads(ret, object_hook=ObjectDict) except: raise APIError(-1, url, 'json decode error, value={0!r}'.format(ret)) 我在py3.6中跑这句的时候,老是报错,就注释掉了。