summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/datetime.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
index af05c12..3fd4144 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -130,8 +130,8 @@ Available Types
.. class:: timedelta
:noindex:
- A duration expressing the difference between two :class:`date`, :class:`.time`,
- or :class:`.datetime` instances to microsecond resolution.
+ A duration expressing the difference between two :class:`.datetime`
+ or :class:`date` instances to microsecond resolution.
.. class:: tzinfo
@@ -203,7 +203,7 @@ objects.
--------------------------
A :class:`timedelta` object represents a duration, the difference between two
-dates or times.
+:class:`.datetime` or :class:`date` instances.
.. class:: timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)