[Epydoc-commits] SF.net SVN: epydoc: [1432] trunk/epydoc/src/epydoc/docintrospecter.py
Brought to you by:
edloper
From: <dva...@us...> - 2007-02-04 03:12:26
|
Revision: 1432 http://svn.sourceforge.net/epydoc/?rev=1432&view=rev Author: dvarrazzo Date: 2007-02-03 19:12:25 -0800 (Sat, 03 Feb 2007) Log Message: ----------- - Fixed encoding propagation to class children when the class is being introspected as another class base. Modified Paths: -------------- trunk/epydoc/src/epydoc/docintrospecter.py Modified: trunk/epydoc/src/epydoc/docintrospecter.py =================================================================== --- trunk/epydoc/src/epydoc/docintrospecter.py 2007-02-04 02:57:23 UTC (rev 1431) +++ trunk/epydoc/src/epydoc/docintrospecter.py 2007-02-04 03:12:25 UTC (rev 1432) @@ -362,6 +362,11 @@ if hasattr(base, '__dict__'): base_children.update(base.__dict__) + # 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: + module_name = class_doc.defining_module.canonical_name + # Record the class's local variables. class_doc.variables = {} if hasattr(cls, '__dict__'): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |