Fix variable name.

This commit is contained in:
Georg Brandl 2009-05-28 08:41:50 +02:00
parent 99c3ad9d6d
commit 62c6acfb4f

View File

@ -182,7 +182,7 @@ def xfileref_role(typ, rawtext, text, lineno, inliner, options={}, content=[]):
target = ws_re.sub('', target).lower()
elif typ == 'cfunc':
# fix-up parens for C functions too
if titleistarget:
if not has_explicit_title:
title = _fix_parens(typ, title, env)
# remove parentheses from the target too
if target.endswith('()'):