This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 catlee
收信人 brett.cannon, catlee, guettli, jribbens, skip.montanaro, tim.peters, tomster
日期 2007-11-30.20:50:12
SpamBayes Score 0.1726419
Marked as misclassified
Message-id <1196455813.18.0.221248141219.issue1673409@psf.upfronthosting.co.za>
In-reply-to
内容
I keep needing to know the number of seconds that a timedelta represents,
so I implemented the following patch.

This returns only the integer portion, but could be modified to return a
floating point value.
文件
文件名 上传时间
timedelta.diff catlee, 2007-11-30.20:50:12
历史
日期 用户 动作 参数
2007-11-30 20:50:13catlee修改spambayes_score: 0.172642 -> 0.1726419
recipients: + catlee, tim.peters, skip.montanaro, brett.cannon, jribbens, guettli, tomster
2007-11-30 20:50:13catlee修改spambayes_score: 0.172642 -> 0.172642
messageid: <1196455813.18.0.221248141219.issue1673409@psf.upfronthosting.co.za>
2007-11-30 20:50:13catlee链接issue1673409 messages
2007-11-30 20:50:12catlee创建