[Epydoc-commits] SF.net SVN: epydoc: [1611] trunk/epydoc/src/epydoc/docstringparser.py
Brought to you by:
edloper
From: <ed...@us...> - 2007-09-23 05:32:31
|
Revision: 1611 http://epydoc.svn.sourceforge.net/epydoc/?rev=1611&view=rev Author: edloper Date: 2007-09-22 22:32:29 -0700 (Sat, 22 Sep 2007) Log Message: ----------- for function signatures in docstrings, treat the value after -> as a return type, not a return value. Modified Paths: -------------- trunk/epydoc/src/epydoc/docstringparser.py Modified: trunk/epydoc/src/epydoc/docstringparser.py =================================================================== --- trunk/epydoc/src/epydoc/docstringparser.py 2007-09-23 04:19:57 UTC (rev 1610) +++ trunk/epydoc/src/epydoc/docstringparser.py 2007-09-23 05:32:29 UTC (rev 1611) @@ -1061,7 +1061,7 @@ # Extract the return type/value from the signature if rtype: - func_doc.return_descr = markup.parse(rtype, 'plaintext') + func_doc.return_type = markup.parse(rtype, 'plaintext') # Add the self parameter, if it was specified. if selfparam: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |