[Epydoc-commits] SF.net SVN: epydoc: [1434] trunk/epydoc/src/epydoc/docintrospecter.py
Brought to you by:
edloper
From: <dva...@us...> - 2007-02-04 15:46:16
|
Revision: 1434 http://svn.sourceforge.net/epydoc/?rev=1434&view=rev Author: dvarrazzo Date: 2007-02-04 07:46:13 -0800 (Sun, 04 Feb 2007) Log Message: ----------- - Also check for an `UNKNOWN` defining module, which doesn't happen to have a canonical name... Modified Paths: -------------- trunk/epydoc/src/epydoc/docintrospecter.py Modified: trunk/epydoc/src/epydoc/docintrospecter.py =================================================================== --- trunk/epydoc/src/epydoc/docintrospecter.py 2007-02-04 04:03:48 UTC (rev 1433) +++ trunk/epydoc/src/epydoc/docintrospecter.py 2007-02-04 15:46:13 UTC (rev 1434) @@ -364,7 +364,7 @@ # The module name is not defined if the class is being introspected # as another class base. - if module_name is None and class_doc.defining_module is not None: + if module_name is None and class_doc.defining_module not in (None, UNKNOWN): module_name = class_doc.defining_module.canonical_name # Record the class's local variables. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |