Fixed a bug in DictionaryObject with python 3

Dict only has a "iteritems" method in python 2, python 3.
But since this code has the same behaviour as dict, it's not necessary to remplement it, so I just killed it.