可腌制(或可腌制)的对象是什么意思? [英] What does it mean for an object to be picklable (or pickle-able)?

查看:73
本文介绍了可腌制(或可腌制)的对象是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Python文档经常提到这个词,我想知道它的意思!谷歌搜索没有太大帮助..

Python docs mention this word a lot and I want to know what it means! Googling doesn't help much..

推荐答案

这只是意味着它可以由可以做什么腌制和未腌制?. pickle协议提供了更多详细信息,并说明了类如何自定义过程.

It simply means it can be serialized by the pickle module. For a basic explanation of this, see What can be pickled and unpickled?. The pickle protocol provides more details, and shows how classes can customize the process.

这篇关于可腌制(或可腌制)的对象是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆