From f17e405eb7bd1a0f2a70423a63620a52c7073565 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sun, 2 Oct 2011 12:22:13 +0300 Subject: [PATCH] #13076: fix links to datetime.time. --- Doc/library/datetime.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 589d5c6a4c0..8a2920db0b0 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -1164,19 +1164,19 @@ Class attributes: .. attribute:: time.min - The earliest representable :class:`time`, ``time(0, 0, 0, 0)``. + The earliest representable :class:`.time`, ``time(0, 0, 0, 0)``. .. attribute:: time.max - The latest representable :class:`time`, ``time(23, 59, 59, 999999)``. + The latest representable :class:`.time`, ``time(23, 59, 59, 999999)``. .. attribute:: time.resolution - The smallest possible difference between non-equal :class:`time` objects, - ``timedelta(microseconds=1)``, although note that arithmetic on :class:`time` - objects is not supported. + The smallest possible difference between non-equal :class:`.time` objects, + ``timedelta(microseconds=1)``, although note that arithmetic on + :class:`.time` objects is not supported. Instance attributes (read-only): @@ -1203,7 +1203,7 @@ Instance attributes (read-only): .. attribute:: time.tzinfo - The object passed as the tzinfo argument to the :class:`time` constructor, or + The object passed as the tzinfo argument to the :class:`.time` constructor, or ``None`` if none was passed. @@ -1234,10 +1234,10 @@ Instance methods: .. method:: time.replace([hour[, minute[, second[, microsecond[, tzinfo]]]]]) - Return a :class:`time` with the same value, except for those attributes given + Return a :class:`.time` with the same value, except for those attributes given new values by whichever keyword arguments are specified. Note that - ``tzinfo=None`` can be specified to create a naive :class:`time` from an - aware :class:`time`, without conversion of the time data. + ``tzinfo=None`` can be specified to create a naive :class:`.time` from an + aware :class:`.time`, without conversion of the time data. .. method:: time.isoformat()