[1.3.x] 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

Backport of 66fd824ee0 from master
This commit is contained in:
Luke Plant 2011-05-15 23:02:36 +00:00 committed by Tim Graham
parent 8892b0c2c3
commit e982cbd4a1
1 changed files with 1 additions and 0 deletions

View File

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