[Epydoc-commits] SF.net SVN: epydoc: [1439] trunk/epydoc/src/epydoc/docstringparser.py
Brought to you by:
edloper
From: <ed...@us...> - 2007-02-07 06:21:34
|
Revision: 1439 http://svn.sourceforge.net/epydoc/?rev=1439&view=rev Author: edloper Date: 2007-02-06 22:21:26 -0800 (Tue, 06 Feb 2007) Log Message: ----------- Fixed bug where function summaries generated from return value fields would have incorrect capitalization (eg "Returns An apple") by adding a colon to make it "Returns: An apple". (sf bug #1551471) Modified Paths: -------------- trunk/epydoc/src/epydoc/docstringparser.py Modified: trunk/epydoc/src/epydoc/docstringparser.py =================================================================== --- trunk/epydoc/src/epydoc/docstringparser.py 2007-02-06 13:40:13 UTC (rev 1438) +++ trunk/epydoc/src/epydoc/docstringparser.py 2007-02-07 06:21:26 UTC (rev 1439) @@ -437,7 +437,7 @@ # End the message block. log.end_block() -RETURN_PDS = markup.parse('Returns', markup='epytext') +RETURN_PDS = markup.parse('Returns:', markup='epytext') """A ParsedDocstring containing the text 'Returns'. This is used to construct summary descriptions for routines that have empty C{descr}, but non-empty C{return_descr}.""" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |