From: R David Murray Date: Sun, 2 Feb 2014 15:50:17 +0000 (-0500) Subject: whatsnew: fix importlib.reload entry. X-Git-Tag: v3.4.0rc1~126 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70e04f5fbc0b62c4d1d04fd982204437120f791d;p=thirdparty%2FPython%2Fcpython.git whatsnew: fix importlib.reload entry. Turns out I committed a work-in-progress entry because of a time gap between when I wrote it and when I committed. --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index 1da0702da154..2292297e75af 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -765,9 +765,9 @@ for the :meth:`~importlib.abc.InspectLoader.get_code` method. However, it will normally be desirable to override the default implementation for performance reasons. (Contributed by Brett Cannon in :issue:`18072`.) -The :func:`~importlib.reload` function has been moved from :mod:`imp` -to :mod:`importlib`. The :func:`mod.reload` name is retained for -backward compatibility, but is deprecated. +The :func:`~importlib.reload` function has been moved from :mod:`imp` to +:mod:`importlib` as part of the :mod:`imp` module deprecation. (Contributed by +Berker Peksag in :issue:`18193`.) inspect