]> granicus.if.org Git - python/commitdiff
Tell people the *new* behaviour, not just the old behaviour
authorNick Coghlan <ncoghlan@gmail.com>
Thu, 27 Sep 2012 10:07:45 +0000 (20:07 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Thu, 27 Sep 2012 10:07:45 +0000 (20:07 +1000)
Doc/whatsnew/3.3.rst

index 385ef6e5121f52649d55f3cf27898d6da7b441e9..19ecc38846d97c7014bd852528017bd06828ca6e 100644 (file)
@@ -1121,7 +1121,7 @@ datetime
 --------
 
  * Equality comparisons between naive and aware :class:`~datetime.datetime`
-   instances don't raise :exc:`TypeError`.
+   instances now return :const:`False` instead of raising :exc:`TypeError`.
  * New :meth:`datetime.datetime.timestamp` method: Return POSIX timestamp
    corresponding to the :class:`~datetime.datetime` instance.
  * The :meth:`datetime.datetime.strftime` method supports formatting years