From 0a97941245f1dda6d838f9aaf0512104e5253929 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 12 Dec 2025 12:47:20 -0800 Subject: [PATCH] GH-139686: Update versionchanged directive to 'next' in importlib (GH-142649) An oversight when merging 57db12514ac686f0a752ec8fe1c08b6daa0c6219 . --- Doc/library/importlib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.3