Lines Matching refs:Repr
56 from repr import Repr
340 name and ' ' + repr(name), type(object).__name__)
374 class HTMLRepr(Repr):
377 Repr.__init__(self)
385 def repr(self, object):
386 return Repr.repr(self, object)
393 return self.escape(cram(stripid(repr(x)), self.maxother))
397 testrepr = repr(test)
410 return self.escape(cram(stripid(repr(x)), self.maxstring))
422 repr = _repr_instance.repr
861 return self.grey('=' + self.repr(object))
937 return lhs + self.repr(object)
957 class TextRepr(Repr):
960 Repr.__init__(self)
970 return cram(stripid(repr(x)), self.maxother)
974 testrepr = repr(test)
985 return cram(stripid(repr(x)), self.maxstring)
995 repr = _repr_instance.repr
1253 return '=' + self.repr(object)
1321 repr = self.repr(object)
1323 line = (name and name + ' = ' or '') + repr
1325 if chop < 0: repr = repr[:chop] + '...'
1326 line = (name and self.bold(name) + ' = ' or '') + repr
1676 'BASICMETHODS': ('customization', 'cmp hash repr str SPECIALMETHODS'),
1705 'BACKQUOTES': ('string-conversions', 'repr str STRINGS LITERALS'),
1862 self.output.write('no documentation found for %s\n' % repr(topic))
1871 self.output.write('no documentation found for %s\n' % repr(topic))
2035 'no Python documentation found for %s' % repr(path))