why no time() + timedelta() ?

josh josh-tmda at yucs.org
Thu Jan 20 10:46:13 EST 2005


Why can't timedelta arithmetic be done on time objects?

(e.g. datetime.time(5)-datetime.timedelta(microseconds=3)

Nonzero "days" of the timedelta could either be ignored, or trigger an exception.






More information about the Python-list mailing list