[py-svn] r36284 - py/dist/py/apigen/rest
fijal at codespeak.net
fijal at codespeak.net
Mon Jan 8 16:52:06 CET 2007
Author: fijal
Date: Mon Jan 8 16:52:05 2007
New Revision: 36284
Modified:
py/dist/py/apigen/rest/genrest.py
Log:
Add the same for the class.
Modified: py/dist/py/apigen/rest/genrest.py
==============================================================================
--- py/dist/py/apigen/rest/genrest.py (original)
+++ py/dist/py/apigen/rest/genrest.py Mon Jan 8 16:52:05 2007
@@ -285,6 +285,11 @@
rest = [Title('class: %s' % (cls,), belowchar='='),
LiteralBlock(self.dsa.get_doc(cls))]
# link to source
+ link_to_class = self.linkgen.getlinkobj(cls, self.dsa.get_obj(cls))
+ if link_to_class:
+ rest.append(Paragraph(Text("source: "), Link(*link_to_class)))
+
+
self.dsa.get_class_definition(cls)
if bases:
More information about the pytest-commit
mailing list