本文介绍了__reduce__和__reduce_ex__有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这些方法是用于酸洗/酸洗的,与reduce内置函数无关,但是两者之间有什么区别,为什么我们需要两者?

I understand that these methods are for pickling/unpickling and have no relation to the reduce built-in function, but what's the difference between the 2 and why do we need both?

推荐答案

文档表示

另一方面

在令人发指的手上, Guido说这是一个可以清理的区域.

On the gripping hand, Guido says that this is an area that could be cleaned up.

这篇关于__reduce__和__reduce_ex__有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 05:10