[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:
parent
570e371fd6
commit
16c8a53490
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue