Commit 16c8a534 authored by E Kawashima's avatar E Kawashima Committed by Victor Stinner

[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.
parent 570e371f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment