New submission from Ultrasick <pyt...@ontheserver.de>: my_dict_1 = {'a' : 1, 'b' : 1} my_dict_2 = {'a' : 2, 'b' : 2, 'c' : 2}
my_dict_1.update(my_dict_2, ['a', 'c']) should result for my_dict_1: {'a' : 2, 'b' : 1, 'c' : 2} ---------- components: Interpreter Core messages: 115157 nosy: Ultrasick priority: normal severity: normal status: open title: limit dict.update() to a given list of keys type: feature request versions: Python 2.6, Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9705> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com