bpo-19698: Document when importlib.machinery.FrozenImporter gained spec-related methods (GH-19158) (#19164)

(cherry picked from commit 302e5a8f79514fd84bafbc44b7c97ec636302322)

Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com>

Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com>
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index aa22a5b..2de1043 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -1029,6 +1029,10 @@
     Only class methods are defined by this class to alleviate the need for
     instantiation.
 
+    .. versionchanged:: 3.4
+       Gained :meth:`~Loader.create_module` and :meth:`~Loader.exec_module`
+       methods.
+
 
 .. class:: WindowsRegistryFinder