diff options
author | Guido van Rossum <guido@python.org> | 2003-01-30 22:06:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-01-30 22:06:23 (GMT) |
commit | 177e41a1178e501887d24610c0c3feba2cf7f70c (patch) | |
tree | 0be6007ce83caada8d793c2eefaeb53821541ae6 /PCbuild/w9xpopen.dsp | |
parent | e14295cf5f5a21dd94a540341202deec9e58b4c9 (diff) | |
download | cpython-177e41a1178e501887d24610c0c3feba2cf7f70c.zip cpython-177e41a1178e501887d24610c0c3feba2cf7f70c.tar.gz cpython-177e41a1178e501887d24610c0c3feba2cf7f70c.tar.bz2 |
Change the approach to pickling to use __reduce__ everywhere. Most
classes have a __reduce__ that returns (self.__class__,
self.__getstate__()). tzinfo.__reduce__() is a bit smarter, calling
__getinitargs__ and __getstate__ if they exist, and falling back to
__dict__ if it exists and isn't empty.
Diffstat (limited to 'PCbuild/w9xpopen.dsp')
0 files changed, 0 insertions, 0 deletions