我不知道__setstate__和 __getstate__方法有什么关系,所以请帮我一个简单的例子.
__setstate__
__getstate__
python serialization
python ×1
serialization ×1