Skip to content

Commit

Permalink
use caution instead, add missing is.
Browse files Browse the repository at this point in the history
  • Loading branch information
gpshead committed Oct 1, 2024
1 parent 10aab84 commit 86dba0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,11 @@ Instance attributes (read-only):

Between 0 and 86,399 inclusive.

.. warning::
.. caution::

It is a somewhat common bug for code to unintentionally use this attribute
when it actually intended to get a :meth:`~timedelta.total_seconds` value
instead:
when it is actually intended to get a :meth:`~timedelta.total_seconds`
value instead:

.. doctest::

Expand Down

0 comments on commit 86dba0f

Please sign in to comment.