summaryrefslogtreecommitdiffstats
path: root/Doc/library/datetime.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-12-02 21:13:53 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-12-02 21:13:53 (GMT)
commitee1b01a41b0c1f212588f840a0b79b1b8876cceb (patch)
tree7188423a10613c738cc001a51d996762a6564d26 /Doc/library/datetime.rst
parent61f0a0261f0fbfd0a6b981c370a8808aad00b107 (diff)
downloadcpython-ee1b01a41b0c1f212588f840a0b79b1b8876cceb.zip
cpython-ee1b01a41b0c1f212588f840a0b79b1b8876cceb.tar.gz
cpython-ee1b01a41b0c1f212588f840a0b79b1b8876cceb.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 9254ae8..b42e38d 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -1296,8 +1296,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.
@@ -1382,7 +1382,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