Repr instances provide several members which can be used to provide size limits for the representations of different object types, and methods which format specific object types.
6
.
4
, for the others,
6
.
40
.
30
.
20
.
level - 1
for the value of level in the recursive
call.
string.join(string.split(type(obj).__name__, '_')
.
Dispatch to these methods is handled by repr1().
Type-specific methods which need to recursively format a value
should call "self.repr1(subobj, level - 1)".
See About this document... for information on suggesting changes.