[py-svn] r37926 - py/trunk/py/apigen

guido at codespeak.net guido at codespeak.net
Sun Feb 4 22:11:45 CET 2007


Author: guido
Date: Sun Feb  4 22:11:43 2007
New Revision: 37926

Modified:
   py/trunk/py/apigen/html.py
Log:
Small visual tweaks.


Modified: py/trunk/py/apigen/html.py
==============================================================================
--- py/trunk/py/apigen/html.py	(original)
+++ py/trunk/py/apigen/html.py	Sun Feb  4 22:11:43 2007
@@ -45,7 +45,7 @@
     class FunctionInfo(html.div):
         def __init__(self, valuedesc, csource, callstack):
             super(H.FunctionInfo, self).__init__(
-                H.Hideable('funcinfo', 'funcinfo', valuedesc, csource,
+                H.Hideable('funcinfo', 'funcinfo', valuedesc, H.br(), csource,
                            callstack))
     
     class PropertyDescription(html.div):
@@ -54,9 +54,9 @@
                 value = str(value)
             if len(value) > 100:
                 value = value[:100] + '...'
-            super(H.PropertyDescription, self).__init__(H.strong(name), ': ',
-                                                      H.em(value),
-                                                      class_='property')
+            super(H.PropertyDescription, self).__init__(name, ': ',
+                                                        H.em(value),
+                                                        class_='property')
 
     class ParameterDescription(html.div):
         pass



More information about the pytest-commit mailing list