def dict_constructor_with_list_copy(logical_line):
    msg = 'M336: Must use a dict comprehension instead of a dict constructor with a sequence of key-value pairs.'
    if dict_constructor_with_list_copy_re.match(logical_line):
        (yield (0, msg))
def dict_constructor_with_list_copy(logical_line):
    msg = 'M336: Must use a dict comprehension instead of a dict constructor with a sequence of key-value pairs.'
    if dict_constructor_with_list_copy_re.match(logical_line):
        (yield (0, msg))