diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 2eb5ea0f1ff..d53d4a612a4 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -1792,6 +1792,10 @@ Notes: In previous versions, :meth:`strftime` method was restricted to years >= 1900. + .. versionchanged:: 3.3 + In version 3.2, :meth:`strftime` method was restricted to + years >= 1000. + (6) For example, if :meth:`utcoffset` returns ``timedelta(hours=-3, minutes=-30)``, ``%z`` is replaced with the string ``'-0330'``. diff --git a/Misc/NEWS b/Misc/NEWS index bb3bb81b3e7..ab7eefd8c3d 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -132,6 +132,9 @@ Core and Builtins Library ------- +- Issue #11930: Removed deprecated time.accept2dyear variable. + Removed year >= 1000 restriction from datetime.strftime. + - logging: don't define QueueListener if Python has no thread support. - Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get