]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] Highlight `datetime.timedelta.seconds` vs `.total_seconds()` in docs. (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 3 Oct 2024 16:25:12 +0000 (18:25 +0200)
committerGitHub <noreply@github.com>
Thu, 3 Oct 2024 16:25:12 +0000 (09:25 -0700)
commit45dedab674e146cd93d2fa90579317a7944f0e73
tree73e38fd409d88a0f8afeedd5e50f92619cea9624
parent4ff32aac9efb442c692c9cc6b49439ea61abb3a6
[3.13] Highlight `datetime.timedelta.seconds` vs `.total_seconds()` in docs. (GH-124811) (#124862)

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