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/whatsnew/2.4.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/whatsnew/2.4.rst')
-rw-r--r-- | Doc/whatsnew/2.4.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.4.rst b/Doc/whatsnew/2.4.rst index 42d197e..8db90cc 100644 --- a/Doc/whatsnew/2.4.rst +++ b/Doc/whatsnew/2.4.rst @@ -1523,7 +1523,7 @@ code: empty list instead of raising a :exc:`TypeError` exception if called with no arguments. -* You can no longer compare the :class:`date` and :class:`datetime` instances +* You can no longer compare the :class:`date` and :class:`~datetime.datetime` instances provided by the :mod:`datetime` module. Two instances of different classes will now always be unequal, and relative comparisons (``<``, ``>``) will raise a :exc:`TypeError`. |