From 16c8a53490a22bd4fcde2efaf4694dd06ded882b Mon Sep 17 00:00:00 2001 From: E Kawashima Date: Tue, 6 Nov 2018 07:41:17 +0900 Subject: [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. --- 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 c6c7160..0bcfbb1 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 -- cgit v0.12