Skip to content

Commit

Permalink
[Docs] Fix required version of an example of importlib (GH-10118)
Browse files Browse the repository at this point in the history
§31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5.
(cherry picked from commit 16c8a53)

Co-authored-by: E Kawashima <e-kwsm@users.noreply.github.com>
  • Loading branch information
miss-islington and e-kwsm committed Nov 5, 2018
1 parent 8c5f14d commit 47a940e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/importlib.rst
Expand Up @@ -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
Expand Down

0 comments on commit 47a940e

Please sign in to comment.