class documentation

class PrettyList(list): (source)

Constructor: PrettyList(*args, **kwargs)

View In Hierarchy

Displays an abbreviated repr of only the first several elements, not the whole list.

Method __init__ Undocumented
Method __repr__ Return a string representation for this corpus view that is similar to a list's representation; but if it would be more than 60 characters long, it is truncated.
Instance Variable _BREAK_LINES Undocumented
Instance Variable _MAX_REPR_SIZE Undocumented
def __init__(self, *args, **kwargs): (source)

Undocumented

def __repr__(self): (source)

Return a string representation for this corpus view that is similar to a list's representation; but if it would be more than 60 characters long, it is truncated.

_BREAK_LINES = (source)

Undocumented

_MAX_REPR_SIZE = (source)

Undocumented