[Python-Dev] datetime.timedelta total_microseconds

Alexander Belopolsky alexander.belopolsky at gmail.com
Wed Feb 20 15:59:27 EST 2019

On Fri, Feb 15, 2019 at 5:29 PM Paul Ganssle <paul at ganssle.io> wrote:

>  it allows you to use non-traditional units like weeks (timedelta(days=7))

Weeks are traditional:

>>> timedelta(weeks=1)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20190220/3995f115/attachment.html>

More information about the Python-Dev mailing list