]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] Highlight `datetime.timedelta.seconds` vs `.total_seconds()` in docs. (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 2 Oct 2024 04:57:07 +0000 (06:57 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Oct 2024 04:57:07 +0000 (21:57 -0700)
commitb338a6122bd4f9a8dfb294981fd4c0b6cfc1b744
treef1180d2d91481980d490bbde3f078474c40da9db
parent79746b31ff1c2658d5f3fb3ce68e12733cf837d4
[3.12] Highlight `datetime.timedelta.seconds` vs `.total_seconds()` in docs. (GH-124811) (GH-124863)

Highlight `datetime.timedelta.seconds` vs `.total_seconds()` in docs. (GH-124811)

Thanks to the reviewers for suggesting the use of a "caution" section instead of "warning" or "note".
(cherry picked from commit d150e4abcfc13770c2d239878ed337fb53e51de5)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/library/datetime.rst