]> granicus.if.org Git - python/commit
Closes #10031: overhaul the "imports" section of the programming FAQ.
authorGeorg Brandl <georg@python.org>
Mon, 6 Oct 2014 14:02:09 +0000 (16:02 +0200)
committerGeorg Brandl <georg@python.org>
Mon, 6 Oct 2014 14:02:09 +0000 (16:02 +0200)
commita94ad1e508153cee6d355a1ee03e32146fa0c41f
treea4e1538b3a2cdc67cfa0440af8e3ac92646ca4e5
parent2a3e396b247e8519b8f8a7c9d68f418a0fe0a306
Closes #10031: overhaul the "imports" section of the programming FAQ.

Remove the advice to never use relative imports; it is a leftover from 2.x implicit relative imports.
Remove the advice to locally import modules in __init__, it is a strange practice.
Remove the advice to use "from ... import *" with some modules.
Doc/faq/programming.rst