From: Brett Cannon Date: Fri, 12 Dec 2025 20:47:20 +0000 (-0800) Subject: GH-139686: Update versionchanged directive to 'next' in importlib (GH-142649) X-Git-Tag: v3.15.0a3~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a97941245f1dda6d838f9aaf0512104e5253929;p=thirdparty%2FPython%2Fcpython.git GH-139686: Update versionchanged directive to 'next' in importlib (GH-142649) An oversight when merging 57db12514ac686f0a752ec8fe1c08b6daa0c6219 . --- diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index b04403cd15a5..08cb1770d7a2 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -210,7 +210,7 @@ Functions :exc:`ModuleNotFoundError` is raised when the module being reloaded lacks a :class:`~importlib.machinery.ModuleSpec`. - .. versionchanged:: 3.14 + .. versionchanged:: next If *module* is a lazy module that has not yet been materialized (i.e., loaded via :class:`importlib.util.LazyLoader` and not yet accessed), calling :func:`reload` is a no-op and returns the module unchanged.