##// END OF EJS Templates
doc: don't use mutable default arguments...
Gregory Szorc -
r44088:15cccbac default
parent child Browse files
Show More
@@ -27,8 +27,7 b' except ImportError:'
27 "http://docutils.sourceforge.net/\n")
27 "http://docutils.sourceforge.net/\n")
28 sys.exit(-1)
28 sys.exit(-1)
29
29
30 def role_hg(name, rawtext, text, lineno, inliner,
30 def role_hg(name, rawtext, text, lineno, inliner, options=None, content=None):
31 options={}, content=[]):
32 text = "hg " + utils.unescape(text)
31 text = "hg " + utils.unescape(text)
33 linktext = nodes.literal(rawtext, text)
32 linktext = nodes.literal(rawtext, text)
34 parts = text.split()
33 parts = text.split()
General Comments 0
You need to be logged in to leave comments. Login now