[Epydoc-commits] SF.net SVN: epydoc: [1509] trunk/epydoc/src/epydoc/apidoc.py
Brought to you by:
edloper
From: <dva...@us...> - 2007-02-15 23:53:22
|
Revision: 1509 http://svn.sourceforge.net/epydoc/?rev=1509&view=rev Author: dvarrazzo Date: 2007-02-15 15:53:21 -0800 (Thu, 15 Feb 2007) Log Message: ----------- - Fixed `ValueDoc.is_detailed()` when there are details in the variable, but not in the value. Modified Paths: -------------- trunk/epydoc/src/epydoc/apidoc.py Modified: trunk/epydoc/src/epydoc/apidoc.py =================================================================== --- trunk/epydoc/src/epydoc/apidoc.py 2007-02-15 19:48:33 UTC (rev 1508) +++ trunk/epydoc/src/epydoc/apidoc.py 2007-02-15 23:53:21 UTC (rev 1509) @@ -677,8 +677,10 @@ return [self.value] def is_detailed(self): - if (self.value in (None, UNKNOWN)): - return super(VariableDoc, self).is_detailed() + pval = super(VariableDoc, self).is_detailed() + if pval or self.value in (None, UNKNOWN): + return pval + if isinstance(self.value, GenericValueDoc): # [XX] This is a little hackish -- we assume that the # summary lines will have SUMMARY_REPR_LINELEN chars, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |