Searched hist:"4 ae6549f8e1cd31076c6dbabef568689fc313a13" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/tools/dtoc/ |
| H A D | dtoc.py | 4ae6549f8e1cd31076c6dbabef568689fc313a13 Tue Sep 27 15:03:56 UTC 2016 Paul Burton <paul.burton@imgtec.com> dtoc: Use items() to iterate over dictionaries in python 3.x
In python 3.x the iteritems() method has been removed from dictionaries, and the items() method does effectively the same thing. On python 2.x using items() is a little less efficient since it involves copying data, but as speed isn't a concern in the affected code switch to using items() anyway for simplicity.
Signed-off-by: Paul Burton <paul.burton@imgtec.com> Acked-by: Simon Glass <sjg@chromium.org>
|