def convert_mapping(self, mapping):
if isinstance(mapping, dict):<EOL><INDENT>return self.convert_items(iteritems(mapping))<EOL><DEDENT>return self.convert_items(mapping)<EOL>
Convenience method to track either a dict or a 2-tuple iterator.