Author pitrou
Recipients exarkun, pitrou
Date 2013-08-02.16:21:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375460476.41.0.86686348873.issue18629@psf.upfronthosting.co.za>
In-reply-to
Content
You're just looking for floor division:

$ python -Qnew
Python 2.7.4 (default, Apr 19 2013, 18:28:01) 
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 1/2
0.5
>>> from datetime import timedelta
>>> print timedelta(seconds=3) // 2
0:00:01.500000
History
Date User Action Args
2013-08-02 16:21:16pitrousetrecipients: + pitrou, exarkun
2013-08-02 16:21:16pitrousetmessageid: <1375460476.41.0.86686348873.issue18629@psf.upfronthosting.co.za>
2013-08-02 16:21:16pitroulinkissue18629 messages
2013-08-02 16:21:16pitroucreate