
report at bugs
Aug 7, 2012, 11:29 AM
Post #2 of 2
(35 views)
Permalink
|
|
[issue15575] Tutorial is unclear on multiple imports of a module.
[In reply to]
|
|
R. David Murray added the comment: Well, I don't think a full discussion of the subtlety about a module appearing under multiple names belongs in the tutorial, but I think the sentence could be amended to say "Statements in a module are executed only the *first* time the module name is encountered in an import statement". The other is indeed a bug (IMO the sentence is missing the word 'definition', as in 'execution of a function definition'). ---------- nosy: +r.david.murray _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue15575> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|