def equal_length(*args):
for i, arg in enumerate(args):<EOL><INDENT>if not isinstance(arg, Sized):<EOL><INDENT>raise ExpectedTypeError(arg, ["<STR_LIT>"])<EOL><DEDENT>if i >= <NUM_LIT:1> and len(arg) != len(args[<NUM_LIT:0>]):<EOL><INDENT>raise DifferentLengthError(args, arg)<EOL><DEDENT><DEDENT>
Check that arguments have the same length.