summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-01-31 22:27:17 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-01-31 22:27:17 (GMT)
commit506be287aabe4349956813407dace69dc8d38d36 (patch)
tree410c7e2c73e76027455021e882914edbd0535910 /PC
parent96940c971c440db52406ecf547083159bbfc1a33 (diff)
downloadcpython-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 'PC')
0 files changed, 0 insertions, 0 deletions