• First, leave the original class definition intact so that it can be found when existing instances are unpickled.

    首先,确保原来的类的定义没有被更改,以便在unpickle现有实例时可以找到它。

    youdao

  • When a previously pickled instance is unpickled, its previously pickled state will be passed to _setstate_() as a dictionary, which will include values for the firstname and lastname attributes.

    当对先前进行过pickle 的实例执行unpickle 时,其先前进行过 pickle 的状态会作为字典传递给 _setstate_() ,它将包括firstname和lastname属性的值。

    youdao

  • When a previously pickled instance is unpickled, its previously pickled state will be passed to _setstate_() as a dictionary, which will include values for the firstname and lastname attributes.

    当对先前进行过pickle 的实例执行unpickle 时,其先前进行过 pickle 的状态会作为字典传递给 _setstate_() ,它将包括firstname和lastname属性的值。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定