(self, x, level)
| 1262 | repr_str = repr_string |
| 1263 | |
| 1264 | def repr_instance(self, x, level): |
| 1265 | try: |
| 1266 | return cram(stripid(repr(x)), self.maxstring) |
| 1267 | except: |
| 1268 | return '<%s instance>' % x.__class__.__name__ |
| 1269 | |
| 1270 | class TextDoc(Doc): |
| 1271 | """Formatter class for text documentation.""" |