From 62824613a04ef2b14cef51fc67ad76fb6fde7f29 Mon Sep 17 00:00:00 2001 From: E Kawashima Date: Tue, 6 Nov 2018 07:41:17 +0900 Subject: [PATCH] [Docs] Fix required version of an example of importlib (GH-10118) 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 Python 3.5. (cherry picked from commit 16c8a53490a22bd4fcde2efaf4694dd06ded882b) Co-authored-by: E Kawashima --- 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 c6c7160a9d15331..0bcfbb1c72631b8 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