Formulas iterating over dictionaries should use the items() method instead of iteritems() because the latter method has been removed from Python 3. While the items() method in Python 2 uses more memory than iteritems(), these dictionaries are typically small (e.g., sets of settings from Pillar).
Formulas iterating over dictionaries should use the
items()
method instead ofiteritems()
because the latter method has been removed from Python 3. While theitems()
method in Python 2 uses more memory thaniteritems()
, these dictionaries are typically small (e.g., sets of settings from Pillar).