third_party.pylibs.pylint.src/test/input/func_dict_keys.py

16 lines
226 B
Python

"""Check multiple key definition"""
#pylint: disable-msg=C0103
__revision__ = 5
correct_dict = {
'tea': 'for two',
'two': 'for tea',
}
wrong_dict = {
'tea': 'for two',
'two': 'for tea',
'tea': 'time',
}