From 3b8b75beb417ed915295a1b2f0cdc15404815389 Mon Sep 17 00:00:00 2001 From: E Kawashima Date: Sun, 21 Oct 2018 23:04:01 +0900 Subject: [PATCH] [Docs] Fix required version of an example of importlib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ยง31.5.6.3. Importing a source file directly `module_from_spec` is new in 3.5 [ci skip] --- 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 6f4da11989551ea..701ee2a7084e2f7 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -1653,7 +1653,7 @@ Importing a source file directly '''''''''''''''''''''''''''''''' To import a Python source file directly, use the following recipe -(Python 3.4 and newer only):: +(Python 3.5 and newer only):: import importlib.util import sys