@@ -414,8 +414,8 @@ ABC hierarchy::
414
414
415
415
.. versionadded :: 3.4
416
416
417
- .. versionchanged :: 3.5
418
- Starting in Python 3.6, this method will not be optional when
417
+ .. versionchanged :: 3.6
418
+ This method is no longer optional when
419
419
:meth: `exec_module ` is defined.
420
420
421
421
.. method :: exec_module(module)
@@ -1273,8 +1273,7 @@ import, then you should use :func:`importlib.util.find_spec`.
1273
1273
Importing a source file directly
1274
1274
''''''''''''''''''''''''''''''''
1275
1275
1276
- To import a Python source file directly, use the following recipe
1277
- (Python 3.5 and newer only)::
1276
+ To import a Python source file directly, use the following recipe::
1278
1277
1279
1278
import importlib.util
1280
1279
import sys
@@ -1355,9 +1354,7 @@ Import itself is implemented in Python code, making it possible to
1355
1354
expose most of the import machinery through importlib. The following
1356
1355
helps illustrate the various APIs that importlib exposes by providing an
1357
1356
approximate implementation of
1358
- :func: `importlib.import_module ` (Python 3.4 and newer for the importlib usage,
1359
- Python 3.6 and newer for other parts of the code).
1360
- ::
1357
+ :func: `importlib.import_module `::
1361
1358
1362
1359
import importlib.util
1363
1360
import sys
0 commit comments