Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -283,17 +283,23 @@ Class attributes:
Note that, because of normalization, ``timedelta.max`` is greater than ``-timedelta.min``.
``-timedelta.max`` is not representable as a :class:`timedelta` object.


Instance attributes (read-only):

+------------------+--------------------------------------------+
| Attribute | Value |
+==================+============================================+
| ``days`` | Between -999999999 and 999999999 inclusive |
+------------------+--------------------------------------------+
| ``seconds`` | Between 0 and 86399 inclusive |
+------------------+--------------------------------------------+
| ``microseconds`` | Between 0 and 999999 inclusive |
+------------------+--------------------------------------------+
.. attribute:: timedelta.days

Between ``-999999999`` and ``999999999`` inclusive.


.. attribute:: timedelta.seconds

Between ``0`` and ``86399`` inclusive.


.. attribute:: timedelta.microseconds

Between ``0`` and ``999999`` inclusive.


Supported operations:

Expand Down
Loading