Михаил Мишакин added the comment: Is's like list's operation + and it's method list.extend(). But dict have no operation +...
If I have two lists (A and B), and I want to get third list (not change A and B) i do this: C = A + B If I have two dicts, i can do this: C = dict(A, **B) But if i have three dictionaries, code becomes this: C = dict(A, **dict(B, **D)) Don't you think, that "+" is more comfortable? A = [1, 2, 3] B = [4, 5] C = [6, 7] A + B + C = [1,2,3,4,5,6,7] I can do this with list, tuples and strings. Why i can't do this with dictionaries? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21678> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com