]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36138: Clarify docs about converting datetime.timedelta to scalars. (GH-12137)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 16 Mar 2019 04:03:43 +0000 (21:03 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Mar 2019 04:03:43 +0000 (21:03 -0700)
commite213cd6325f2d6f116b6c3dce109cdf21f6263d5
tree17569b0470e30ed0f5bcc730597976f715b052c2
parent6c0e0d141a07cc3fd2441d9df8d762f56bf7edf2
bpo-36138: Clarify docs about converting datetime.timedelta to scalars. (GH-12137)

Be explicit that timedelta division converts an overall duration to the interval
units given by the denominator.
(cherry picked from commit f40b4a0b6277b2779b9ded3736325489f2af93e4)

Co-authored-by: Yasser A <yalshalaan@gmail.com>
Doc/library/datetime.rst
Misc/NEWS.d/next/Documentation/2019-03-02-00-40-57.bpo-36138.yfjNzG.rst [new file with mode: 0644]