107 assert type_b == list
108 return _val_eq(a.data, b)
109 elif type_b == SubPattern:
110 return _val_eq(b, a)111
112 if type_a != type_b:
113 return False
Positional arguments (with the same name as function parameters) appear to be out of order. Ensure that the order of arguments passed is correct.
def func_with_two_args(arg_one, arg_two):
...
arg_one = 1
arg_two = 2
func_with_two_args(arg_two, arg_one)
def func_with_two_args(arg_one, arg_two):
...
arg_one = 1
arg_two = 2
func_with_two_args(arg_one, arg_two)