[docs] [issue14628] Clarify import statement documentation regarding what gets bound

Brett Cannon report at bugs.python.org
Fri Apr 20 17:13:52 CEST 2012


Brett Cannon <brett at python.org> added the comment:

So I think the sentence is saying exactly what is going on, but you want clarification that the module object is originating from sys.modules specifically. So you could change the sentence to "The first form of import statement binds the module name in the local namespace to the module object as found in sys.modules."

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14628>
_______________________________________


More information about the docs mailing list