Kaydet (Commit) 70e04f5f authored tarafından R David Murray's avatar R David Murray

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.
üst 9592edb8
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment