Commits

Georg Brandl committed 4242e3d

Make the parameter order consistent.

  • Participants
  • Parent commits 0d3dca7

Comments (0)

Files changed (1)

     return [addnodes.abbreviation(abbr, abbr, explanation=expl)], []
 
 
-def normalize_func_parens(env, has_explicit_title, target, title):
+def normalize_func_parens(env, has_explicit_title, title, target):
     if has_explicit_title:
         if title.endswith('()'):
             # remove parentheses
 
 def pyref_callable_link_func(env, pnode, has_explicit_title, title, target):
     target, title = pyref_link_func(env, pnode, has_explicit_title, title, target)
-    target, title = normalize_func_parens(env, has_explicit_title, target, title)
+    target, title = normalize_func_parens(env, has_explicit_title, title, target)
     return target, title
 
 
 
 
 def cfunc_link_func(env, pnode, has_explicit_title, title, target):
-    return normalize_func_parens(env, has_explicit_title, target, title)
+    return normalize_func_parens(env, has_explicit_title, title, target)
 
 
 generic_pyref_role = make_xref_role(pyref_link_func)