diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2012-09-27 10:07:45 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-09-27 10:07:45 (GMT) |
commit | 3658cb3012fa14e4594ed62a227115fbbd15da26 (patch) | |
tree | 34c379924f9d12a8912b429f721553a74812b596 /Doc/whatsnew/3.3.rst | |
parent | c4bacd364651721206594f24833becd1e3217832 (diff) | |
download | cpython-3658cb3012fa14e4594ed62a227115fbbd15da26.zip cpython-3658cb3012fa14e4594ed62a227115fbbd15da26.tar.gz cpython-3658cb3012fa14e4594ed62a227115fbbd15da26.tar.bz2 |
Tell people the *new* behaviour, not just the old behaviour
Diffstat (limited to 'Doc/whatsnew/3.3.rst')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 385ef6e..19ecc38 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 |