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

This commit is contained in:
Serhiy Storchaka 2014-11-17 23:48:35 +02:00
commit 0ff742ce2b
1 changed files with 1 additions and 1 deletions

View File

@ -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: