summaryrefslogtreecommitdiff
path: root/sphinx/htmlwriter.py
diff options
context:
space:
mode:
authorgeorg.brandl <devnull@localhost>2008-06-18 18:16:25 +0000
committergeorg.brandl <devnull@localhost>2008-06-18 18:16:25 +0000
commit7dc2280361d1ee9991dbaac4c0f36397725738d7 (patch)
tree1fea4d9e1a54283ccf90bfec7623a5815eb71285 /sphinx/htmlwriter.py
parentf0e2e07c2d82669edf1c77fd1b330d417d1cc117 (diff)
downloadsphinx-7dc2280361d1ee9991dbaac4c0f36397725738d7.tar.gz
Rename node class desc_classname to desc_addname, which
fits its many usages much better.
Diffstat (limited to 'sphinx/htmlwriter.py')
-rw-r--r--sphinx/htmlwriter.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sphinx/htmlwriter.py b/sphinx/htmlwriter.py
index e4a80767..a0b38d7e 100644
--- a/sphinx/htmlwriter.py
+++ b/sphinx/htmlwriter.py
@@ -76,13 +76,12 @@ class HTMLTranslator(BaseTranslator):
u'title="Permalink to this definition">\u00B6</a>')
self.body.append('</dt>\n')
- def visit_desc_classname(self, node):
+ def visit_desc_addname(self, node):
self.body.append(self.starttag(node, 'tt', '', CLASS='descclassname'))
- def depart_desc_classname(self, node):
+ def depart_desc_addname(self, node):
self.body.append('</tt>')
def visit_desc_type(self, node):
- # return type of C functions -- nothing to do here
pass
def depart_desc_type(self, node):
pass