[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:
parent
6ad277b259
commit
91a19c923c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue