class documentation

Undocumented

Method __init__ Undocumented
Method check Takes any argument and raises a ValueError if it doesn't check out
Instance Variable inclusive Whether to include max_length as valid value or not
Instance Variable max_length Maximum allowed length of the iterable
def __init__(self, max_length, inclusive=True): (source)

Undocumented

Parameters
max_lengthUndocumented
inclusive:boolUndocumented
def check(self, arg): (source)

Takes any argument and raises a ValueError if it doesn't check out

Parameters
arg:SizedUndocumented
inclusive = (source)

Whether to include max_length as valid value or not

max_length = (source)

Maximum allowed length of the iterable