summaryrefslogtreecommitdiffstats
path: root/Include/marshal.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-02-01 04:40:04 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-02-01 04:40:04 (GMT)
commit70533e28ad75fe60ba2d0bb11124a3dc69b16bb7 (patch)
tree737a352189c9aa3f0456252e6e632efe20dd42b0 /Include/marshal.h
parentb57f8f02bafcb74cd6c47f59f67d1b6bdfb33aec (diff)
downloadcpython-70533e28ad75fe60ba2d0bb11124a3dc69b16bb7.zip
cpython-70533e28ad75fe60ba2d0bb11124a3dc69b16bb7.tar.gz
cpython-70533e28ad75fe60ba2d0bb11124a3dc69b16bb7.tar.bz2
New functions alloc_{time,datetime}. Got rid of all setstate-like
functions. Reworked {time,datetime}_new() to do what their corresponding setstates used to do in their state-tuple-input paths, but directly, without constructing an object with throwaway state first. Tightened the "is this a state tuple input?" paths to check the presumed state string-length too, and to raise an exception if the optional second state element isn't a tzinfo instance (IOW, check these paths for type errors as carefully as the normal paths).
Diffstat (limited to 'Include/marshal.h')
0 files changed, 0 insertions, 0 deletions