Skip to content

Commit fbfd68c

Browse files
committed
Replaced timedelta instance attributes table with the standard list notation
1 parent e241f58 commit fbfd68c

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

Doc/library/datetime.rst

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -267,15 +267,20 @@ Note that, because of normalization, ``timedelta.max > -timedelta.min`` is true.
267267

268268
Instance attributes (read-only):
269269

270-
+------------------+----------------------------------------------------+
271-
| Attribute | Value |
272-
+==================+====================================================+
273-
| ``days`` | Between ``-999999999`` and ``999999999`` inclusive |
274-
+------------------+--------------------------------------------+-------+
275-
| ``seconds`` | Between ``0`` and ``86399`` inclusive |
276-
+------------------+--------------------------------------------+-------+
277-
| ``microseconds`` | Between ``0`` and ``999999`` inclusive |
278-
+------------------+--------------------------------------------+-------+
270+
.. attribute:: timedelta.days
271+
272+
Between ``-999999999`` and ``999999999`` inclusive.
273+
274+
275+
.. attribute:: timedelta.seconds
276+
277+
Between ``0`` and ``86399`` inclusive.
278+
279+
280+
.. attribute:: timedelta.microseconds
281+
282+
Between ``0`` and ``999999`` inclusive.
283+
279284

280285
Supported operations:
281286

0 commit comments

Comments
 (0)