]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[Docs] Fix required version of an example of importlib (GH-10118)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 5 Nov 2018 22:47:51 +0000 (14:47 -0800)
committerGitHub <noreply@github.com>
Mon, 5 Nov 2018 22:47:51 +0000 (14:47 -0800)
ยง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>
Doc/library/importlib.rst

index 760489ae5560e43acbbccf4448b4418918fb0d95..25055f7ce39cf5b9265cefea96112140a99ee1a9 100644 (file)
@@ -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