Use "warning" for warnings.

This commit is contained in:
Georg Brandl
2008-05-09 06:02:34 +00:00
parent 4a6d98a3fa
commit cedc0e8165

View File

@@ -56,7 +56,6 @@ class HTMLTranslator(BaseTranslator):
self.builder = builder
self.highlightlang = 'python'
self.highlightlinenothreshold = sys.maxint
self.language.labels['warning'] = 'Caveat'
def visit_desc(self, node):
self.body.append(self.starttag(node, 'dl', CLASS=node['desctype']))