moved iteritems to six.iteritems