Issue #20662: Argspec now is escaped in html output of pydoc.
This commit is contained in:
commit
0ff742ce2b
|
@ -954,7 +954,7 @@ class HTMLDoc(Doc):
|
|||
if not argspec:
|
||||
argspec = '(...)'
|
||||
|
||||
decl = title + argspec + (note and self.grey(
|
||||
decl = title + self.escape(argspec) + (note and self.grey(
|
||||
'<font face="helvetica, arial">%s</font>' % note))
|
||||
|
||||
if skipdocs:
|
||||
|
|
Loading…
Reference in New Issue