class documentation

class PrettyLazyConcatenation(LazyConcatenation): (source)

View In Hierarchy

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

Method __add__ Return a list concatenating self with other.
Method __radd__ Return a list concatenating other with self.
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.
Constant _MAX_REPR_SIZE Undocumented
def __add__(self, other): (source)

Return a list concatenating self with other.

def __radd__(self, other): (source)

Return a list concatenating other with self.

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.

_MAX_REPR_SIZE: int = (source)

Undocumented

Value
60