summaryrefslogtreecommitdiffstats
path: root/Doc/library/datetime.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-12-02 21:15:22 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-12-02 21:15:22 (GMT)
commitb6a6b45458490c6928e4f915d7bc83b4a7b44799 (patch)
tree2cf1808557dc3bb99e8ff2f7068e3429767e7b8e /Doc/library/datetime.rst
parent3c35fdb8fbf72c750ab19036b6145751ccbec856 (diff)
parentee1b01a41b0c1f212588f840a0b79b1b8876cceb (diff)
downloadcpython-b6a6b45458490c6928e4f915d7bc83b4a7b44799.zip
cpython-b6a6b45458490c6928e4f915d7bc83b4a7b44799.tar.gz
cpython-b6a6b45458490c6928e4f915d7bc83b4a7b44799.tar.bz2
Issue #21818: Fixed references to classes that have names matching with module
names.
Diffstat (limited to 'Doc/library/datetime.rst')
-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 ecaad06..9dab353 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -1368,8 +1368,8 @@ Using datetime with tzinfo:
.. _datetime-time:
-:class:`time` Objects
----------------------
+:class:`.time` Objects
+----------------------
A time object represents a (local) time of day, independent of any particular
day, and subject to adjustment via a :class:`tzinfo` object.
@@ -1466,7 +1466,7 @@ Supported operations:
``!=``. The latter cases return :const:`False` or :const:`True`, respectively.
.. versionchanged:: 3.3
- Equality comparisons between naive and aware :class:`time` instances
+ Equality comparisons between naive and aware :class:`~datetime.time` instances
don't raise :exc:`TypeError`.
* hash, use as dict key