diff options
author | E Kawashima <e-kwsm@users.noreply.github.com> | 2018-11-05 22:41:17 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2018-11-05 22:41:17 (GMT) |
commit | 16c8a53490a22bd4fcde2efaf4694dd06ded882b (patch) | |
tree | df3babcaadc0a8a6d49f8965eeb7ae75ecf7796c /Doc/library/importlib.rst | |
parent | 570e371fd6e8615ece9b9e21fbe77149ebeb172e (diff) | |
download | cpython-16c8a53490a22bd4fcde2efaf4694dd06ded882b.zip cpython-16c8a53490a22bd4fcde2efaf4694dd06ded882b.tar.gz cpython-16c8a53490a22bd4fcde2efaf4694dd06ded882b.tar.bz2 |
[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.
Diffstat (limited to 'Doc/library/importlib.rst')
-rw-r--r-- | Doc/library/importlib.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index c6c7160..0bcfbb1 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -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 |