[Epydoc-commits] SF.net SVN: epydoc: [1268] trunk/epydoc/src/epydoc/docwriter/html.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-08-21 11:02:17
|
Revision: 1268 Author: edloper Date: 2006-08-21 04:02:13 -0700 (Mon, 21 Aug 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1268&view=rev Log Message: ----------- - Display the decorators that have been applied to a function in the function details section. Modified Paths: -------------- trunk/epydoc/src/epydoc/docwriter/html.py Modified: trunk/epydoc/src/epydoc/docwriter/html.py =================================================================== --- trunk/epydoc/src/epydoc/docwriter/html.py 2006-08-21 11:01:45 UTC (rev 1267) +++ trunk/epydoc/src/epydoc/docwriter/html.py 2006-08-21 11:02:13 UTC (rev 1268) @@ -2023,6 +2023,15 @@ >>> elif rtype: <dl><dt>Returns: <code>$rtype$</code></dt></dl> >>> #endif + >>> # === decorators === + >>> if func_doc.decorators not in (None, UNKNOWN, (), []): + <dl><dt>Decorators:</dt></dl> + <ul class="nomargin"> + >>> for deco in func_doc.decorators: + <li>$deco$</li> + >>> #endfor + </ul> + >>> #endif >>> # === exceptions === >>> if func_doc.exception_descrs not in (None, UNKNOWN, (), []): <dl><dt>Raises:</dt></dl> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |