]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[Docs] Fix required version of an example of importlib (GH-10118)
authorE Kawashima <e-kwsm@users.noreply.github.com>
Mon, 5 Nov 2018 22:41:17 +0000 (07:41 +0900)
committerVictor Stinner <vstinner@redhat.com>
Mon, 5 Nov 2018 22:41:17 +0000 (23:41 +0100)
ยง31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5.

Doc/library/importlib.rst

index c6c7160a9d15331daac631fd7301287930caec7d..0bcfbb1c72631b844ca06b4665d31eebab151d1d 100644 (file)
@@ -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