[Numpy-svn] r8679 - trunk/doc/sphinxext

numpy-svn@scip... numpy-svn@scip...
Wed Sep 1 18:22:30 CDT 2010


Author: ptvirtan
Date: 2010-09-01 18:22:30 -0500 (Wed, 01 Sep 2010)
New Revision: 8679

Modified:
   trunk/doc/sphinxext/docscrape.py
Log:
sphinxext: more lenient parsing for See Also sections

Modified: trunk/doc/sphinxext/docscrape.py
===================================================================
--- trunk/doc/sphinxext/docscrape.py	2010-08-31 14:02:59 UTC (rev 8678)
+++ trunk/doc/sphinxext/docscrape.py	2010-09-01 23:22:30 UTC (rev 8679)
@@ -232,7 +232,8 @@
                 current_func = None
                 if ',' in line:
                     for func in line.split(','):
-                        push_item(func, [])
+                        if func.strip():
+                            push_item(func, [])
                 elif line.strip():
                     current_func = line
             elif current_func is not None:



More information about the Numpy-svn mailing list