under naming
David Bear
david.bear at asu.edu
Mon Jul 31 20:00:08 EDT 2006
I must have missed reading something important about naming conventions.
I have found that if I have a python module where I have an identifier named
with a beginning underscore that I cannot use from module import * to make
that name available in another module.
for example,
module A
_myvar = 'a local var'
module B
from A import *
_myvar -- is not available.
Is this in a pep somewhere ?
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
More information about the Python-list
mailing list