parser module and doc

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Fri Mar 20 03:26:57 EDT 2009


I'm reading the docs for the parser module and I'm confused.

http://docs.python.org/library/parser.html

The doc make a number of references to the file "example.py", and says:

"All source files mentioned here which are not part of the Python 
installation are located in the Demo/parser/ directory of the 
distribution."

http://docs.python.org/library/parser.html#information-discovery

What distribution? What does this actually mean?


The page also talks about "public classes" ClassInfo, FunctionInfo and 
ModuleInfo, but they don't exist:

>>> parser.ModuleInfo
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'ModuleInfo'


Where are these public classes?




-- 
Steven



More information about the Python-list mailing list