What is __reduce__? (was: copy.deepcopy(): is it bug or intended behavior?)

Greg Chapman glc at well.com
Thu Aug 1 15:38:14 CEST 2002


On Thu, 1 Aug 2002 01:04:46 -0400, Benjamin Han <bhan at andrew.cmu.edu> wrote:

>But I can't find __reduce__ in Library and Langauge references. Hint anyone? 
>Thanks!

Check out "3.14.5.2 Pickling and unpickling extension types" in the Library
reference:

http://www.python.org/dev/doc/devel/lib/node66.html

---
Greg Chapman




More information about the Python-list mailing list