Lines Matching refs:pydoc
28 import pydoc
109 head = '<body bgcolor="#f0f0f8">' + pydoc.html.heading(
111 strong(pydoc.html.escape(str(etype))),
122 link = '<a href="file://%s">%s</a>' % (file, pydoc.html.escape(file))
130 formatvalue=lambda value: '=' + pydoc.html.repr(value))
146 line = '<tt>=>%s%s</tt>' % (num, pydoc.html.preformat(line))
149 line = '<tt> %s%s</tt>' % (num, pydoc.html.preformat(line))
164 dump.append('%s = %s' % (name, pydoc.html.repr(value)))
173 exception = ['<p>%s: %s' % (strong(pydoc.html.escape(str(etype))),
174 pydoc.html.escape(str(evalue)))]
178 value = pydoc.html.repr(getattr(evalue, name))
190 ''' % pydoc.html.escape(
214 formatvalue=lambda value: '=' + pydoc.text.repr(value))
238 dump.append('%s = %s' % (name, pydoc.text.repr(value)))
248 value = pydoc.text.repr(getattr(evalue, name))