[docs] "31.5.6.3. Importing a source file directly" talks about the wrong version of Python

Einar Dorum (edorum) edorum at cisco.com
Tue Jan 31 10:28:25 EST 2017


In the documentation for importlib under "31.5.6.3. Importing a source file directly" the documentation says Python 3.4 and newer only.

But importlib.util.module_from_spec was introduced in 3.5, which means the code doesn't work in 3.4 but only in 3.5 and later.

So the text should say 3.5 instead of 3.4.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20170131/691e7e17/attachment.html>


More information about the docs mailing list