https://pantsbuild.org/ logo
#development
Title
# development
r

rough-minister-58256

02/12/2016, 7:00 PM
"When the Pickler encounters an object of a type it knows nothing about — such as an extension type — it looks in two places for a hint of how to pickle it. One alternative is for the object to implement a __reduce__() method. If provided, at pickling time __reduce__() will be called with no arguments, and it must return either a string or a tuple."