[Docs] Fix required version of an example of importlib (GH-10118)

§31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5.
This commit is contained in:
E Kawashima 2018-11-06 07:41:17 +09:00 committed by Victor Stinner
parent 570e371fd6
commit 16c8a53490
1 changed files with 1 additions and 1 deletions

View File

@ -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