diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-31 22:27:17 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-31 22:27:17 (GMT) |
commit | 506be287aabe4349956813407dace69dc8d38d36 (patch) | |
tree | 410c7e2c73e76027455021e882914edbd0535910 /PCbuild | |
parent | 96940c971c440db52406ecf547083159bbfc1a33 (diff) | |
download | cpython-506be287aabe4349956813407dace69dc8d38d36.zip cpython-506be287aabe4349956813407dace69dc8d38d36.tar.gz cpython-506be287aabe4349956813407dace69dc8d38d36.tar.bz2 |
The various datetime object __setstate__() methods are no longer public
(pickling no longer needs them, and immutable objects shouldn't have
visible __setstate__() methods regardless). Rearranged the code to
put the internal setstate functions in the constructor sections.
Repaired the timedelta reduce() method, which was still producing
stuff that required a public timedelta.__setstate__() when unpickling.
Diffstat (limited to 'PCbuild')
0 files changed, 0 insertions, 0 deletions