[Numpy-discussion] chebyshev module

Robert Kern robert.kern at gmail.com
Tue Sep 29 17:43:55 EDT 2009


On Tue, Sep 29, 2009 at 16:40, Charles R Harris
<charlesr.harris at gmail.com> wrote:

> Oh, and is it advisable to have a __copy__ (or copy) method?

Implement __getstate__ and __setstate__. Both the pickle module and
the copy module will use those functions.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco



More information about the NumPy-Discussion mailing list