From: Nick Coghlan Date: Thu, 27 Sep 2012 10:07:45 +0000 (+1000) Subject: Tell people the *new* behaviour, not just the old behaviour X-Git-Tag: v3.3.1rc1~818^2^2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3658cb3012fa14e4594ed62a227115fbbd15da26;p=python Tell people the *new* behaviour, not just the old behaviour --- diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 385ef6e512..19ecc38846 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -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