Ramchandra Apte added the comment: __getstate__ is for pickling instances [0], __reduce__ is for pickling the object itself [1]
^0 http://docs.python.org/2/library/pickle.html#object.__getstate__ ^1 http://docs.python.org/2/library/pickle.html#object.__reduce__ ---------- nosy: +Ramchandra Apte _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17489> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com