commit | 506be287aabe4349956813407dace69dc8d38d36 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Fri Jan 31 22:27:17 2003 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Fri Jan 31 22:27:17 2003 +0000 |
tree | 410c7e2c73e76027455021e882914edbd0535910 | |
parent | 96940c971c440db52406ecf547083159bbfc1a33 [diff] |
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.