[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.
(cherry picked from commit 16c8a53490)

Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2018-11-05 14:46:42 -08:00 committed by GitHub
parent 6ad277b259
commit 91a19c923c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 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 importlib.util
import sys import sys