[Python-checkins] cpython: Tell people the *new* behaviour, not just the old behaviour
nick.coghlan
python-checkins at python.org
Thu Sep 27 12:08:00 CEST 2012
http://hg.python.org/cpython/rev/82ba1f46def5
changeset: 79197:82ba1f46def5
user: Nick Coghlan <ncoghlan at gmail.com>
date: Thu Sep 27 20:07:45 2012 +1000
summary:
Tell people the *new* behaviour, not just the old behaviour
files:
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
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -1121,7 +1121,7 @@
--------
* 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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list