Commits

Anonymous committed 8f1a86b

Fix directive parse_node function.

Comments (0)

Files changed (1)

 
 def parse_directive(env, sig, signode):
     if not sig.startswith('.'):
-        sig = '.. %s::' % sig
-        signode += addnodes.desc_name(sig, sig)
+        dec_sig = '.. %s::' % sig
+        signode += addnodes.desc_name(dec_sig, dec_sig)
         return sig
     m = dir_sig_re.match(sig)
     if not m: