Fixed djangodocs Sphinx extension to work with latest Sphinx

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2011-05-15 23:02:36 +00:00
parent ce6072aa96
commit 66fd824ee0
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ class DjangoHTMLTranslator(SmartyPantsHTMLTranslator):
def visit_desc_parameterlist(self, node): def visit_desc_parameterlist(self, node):
self.body.append('(') self.body.append('(')
self.first_param = 1 self.first_param = 1
self.param_separator = node.child_text_separator
def depart_desc_parameterlist(self, node): def depart_desc_parameterlist(self, node):
self.body.append(')') self.body.append(')')