On 27 September 2016 at 11:55, Simon Glass wrote:
> On 27 September 2016 at 09:03, Paul Burton wrote:
>> 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
>>
On 27 September 2016 at 09:03, Paul Burton wrote:
> 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,
>
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 this code switch to using items() anyway
for
3 matches
Mail list logo