[Epydoc-commits] SF.net SVN: epydoc: [1576] trunk/epydoc/src/epydoc/docstringparser.py
Brought to you by:
edloper
|
From: <dva...@us...> - 2007-03-09 23:08:25
|
Revision: 1576
http://svn.sourceforge.net/epydoc/?rev=1576&view=rev
Author: dvarrazzo
Date: 2007-03-09 15:08:24 -0800 (Fri, 09 Mar 2007)
Log Message:
-----------
- Test strengthened to avoid passing a `GenericValueDoc` to
`parse_function_signature()` in case of incomplete state (which usually
doesn't happen... but unusual is our business)
Modified Paths:
--------------
trunk/epydoc/src/epydoc/docstringparser.py
Modified: trunk/epydoc/src/epydoc/docstringparser.py
===================================================================
--- trunk/epydoc/src/epydoc/docstringparser.py 2007-03-08 21:28:07 UTC (rev 1575)
+++ trunk/epydoc/src/epydoc/docstringparser.py 2007-03-09 23:08:24 UTC (rev 1576)
@@ -218,7 +218,7 @@
# Parse ahead the __init__ docstring for this class
initvar = api_doc.variables.get('__init__')
- if initvar and initvar.value not in (None, UNKNOWN):
+ if initvar and isinstance(initvar.value, RoutineDoc):
init_api_doc = initvar.value
parse_docstring(init_api_doc, docindex)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|