[Epydoc-commits] SF.net SVN: epydoc: [1227] trunk/epydoc/src/epydoc/docstringparser.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-04-12 21:01:24
|
Revision: 1227 Author: edloper Date: 2006-04-12 14:01:16 -0700 (Wed, 12 Apr 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1227&view=rev Log Message: ----------- - Fixed traceback from sf bug #1469467 (caused when the defining_module is UNKNOWN); but this doesn't fix the underlying problem from that bug. Modified Paths: -------------- trunk/epydoc/src/epydoc/docstringparser.py Modified: trunk/epydoc/src/epydoc/docstringparser.py =================================================================== --- trunk/epydoc/src/epydoc/docstringparser.py 2006-04-12 19:53:44 UTC (rev 1226) +++ trunk/epydoc/src/epydoc/docstringparser.py 2006-04-12 21:01:16 UTC (rev 1227) @@ -260,7 +260,7 @@ # [xx] Don't report markup errors for standard builtins. if (isinstance(api_doc, ValueDoc) and api_doc != module and (api_doc.pyval in __builtin__.__dict__.values() or - (module is not None and + (module not in (None, UNKNOWN) and module.pyval in (__builtin__, exceptions)))): return This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |