David Bear wrote:
> 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 ?
> 

http://www.python.org/doc/2.4.3/ref/import.html

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to