diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-02 21:13:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-02 21:13:53 (GMT) |
commit | ee1b01a41b0c1f212588f840a0b79b1b8876cceb (patch) | |
tree | 7188423a10613c738cc001a51d996762a6564d26 /Doc/library/datetime.rst | |
parent | 61f0a0261f0fbfd0a6b981c370a8808aad00b107 (diff) | |
download | cpython-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.rst | 6 |
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 |