Commit 66dd4aaa authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #20662: Argspec now is escaped in html output of pydoc.

parent 030e92d1
......@@ -956,7 +956,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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment