[Epydoc-commits] SF.net SVN: epydoc: [1381] trunk/epydoc/src/epydoc/apidoc.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-09-10 22:43:05
|
Revision: 1381 http://svn.sourceforge.net/epydoc/?rev=1381&view=rev Author: edloper Date: 2006-09-10 15:43:02 -0700 (Sun, 10 Sep 2006) Log Message: ----------- - When checking keyword args to APIDoc constructor, don't complain about args that begin with '_'. - Minor docstring changes Modified Paths: -------------- trunk/epydoc/src/epydoc/apidoc.py Modified: trunk/epydoc/src/epydoc/apidoc.py =================================================================== --- trunk/epydoc/src/epydoc/apidoc.py 2006-09-10 16:31:38 UTC (rev 1380) +++ trunk/epydoc/src/epydoc/apidoc.py 2006-09-10 22:43:02 UTC (rev 1381) @@ -374,7 +374,7 @@ """ if epydoc.DEBUG: for key in kwargs: - if not hasattr(self.__class__, key): + if key[0] != '_' and not hasattr(self.__class__, key): raise TypeError('%s got unexpected arg %r' % (self.__class__.__name__, key)) self.__dict__.update(kwargs) @@ -850,7 +850,7 @@ names, and the values are lists of C{VariableDoc}s. The order that groups should be listed in should be taken from L{group_specs}. - @type: C{dict} from C{str} to C{list} of L{APIDoc}""" + @type: C{dict} from C{str} to C{list} of L{VariableDoc}""" #} end of group "information about variables" def __init__(self, **kwargs): @@ -996,7 +996,7 @@ names, and the values are lists of C{ModuleDoc}s. The order that groups should be listed in should be taken from L{group_specs}. - @type: C{dict} from C{str} to C{list} of L{APIDoc}""" + @type: C{dict} from C{str} to C{list} of L{ModuleDoc}""" #{ Information about Packages package = UNKNOWN """@ivar: API documentation for the module's containing package. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |