Closed nathangrigg closed 9 years ago
In Python3, dict.items() is not a list, so you cannot combine them using addition. But itertools.chain will combine them in both Python2 and Python3.
In Python3, dict.items() is not a list, so you cannot combine them using addition. But itertools.chain will combine them in both Python2 and Python3.