[Docs] Fix required version of an example of importlib (GH-10118)
https://github.com/python/cpython/commit/47a940e83b2482d17c92deebf6b7c9be8ce... commit: 47a940e83b2482d17c92deebf6b7c9be8cec979d branch: 3.6 author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> committer: GitHub <noreply@github.com> date: 2018-11-05T14:47:51-08:00 summary: [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 16c8a53490a22bd4fcde2efaf4694dd06ded882b) Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com> files: M Doc/library/importlib.rst diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 760489ae5560..25055f7ce39c 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -1404,7 +1404,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
participants (1)
-
Miss Islington (bot)