On 12/12/15 23:08, Robert wrote:
In fact, I wanted to run the following code. When it failed, I moved to the original question above.
How did it fail? Tell us what _did_ happen.
It works fine for me:
$ pydoc module1
Help on module module1:
NAME
module1
FILE
/tmp/robert/module1.py
DATA
a = 'A'
b = 'B'
c = 'C'
$ pydoc module2
Help on module module2:
NAME
module2
FILE
/tmp/robert/module2.py
DATA
__all__ = ['a', 'b']
a = 'A'
b = 'B'
E.
--
https://mail.python.org/mailman/listinfo/python-list
