It work? You are overriding usages inside iter by usages. I am surprised that python does not report errors.