parser library documentation references non-existent example.py

Reference: http://docs.python.org/library/parser.html#information-discovery
http://docs.python.org/library/parser.htmlThis page says to "See file example.py" several times, but doesn't provide a link to the file or the complete text of the file. It would be really helpful to have example.py.
Thanks,
Bill

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 25.06.2010 22:24, schrieb Bill Zingler:
Reference: http://docs.python.org/library/parser.html#information-discovery
http://docs.python.org/library/parser.htmlThis page says to "See file example.py" several times, but doesn't provide a link to the file or the complete text of the file. It would be really helpful to have example.py.
Hi Bill,
thanks for your report. I've now removed the whole example from the development docs, since such use of the parser module should really be replaced by inspecting the AST (and using the ast module), whose interface is much less complicated to use.
regards, Georg
participants (2)
-
Bill Zingler
-
Georg Brandl