summaryrefslogtreecommitdiff
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 0b56f254de..bfb0a03378 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -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: