Tell people the *new* behaviour, not just the old behaviour

This commit is contained in:
Nick Coghlan 2012-09-27 20:07:45 +10:00
parent c4bacd3646
commit 3658cb3012

View 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