'Yields a sequence of (PyObjectPtr key, PyObjectPtr value) pairs,
analagous to dict.items()'

def iteritems(self):

    for i in safe_range((self.field('ma_mask') + 1)):
        ep = (self.field('ma_table') + i)
        pyop_value = PyObjectPtr.from_pyobject_ptr(ep['me_value'])
        if (not pyop_value.is_null()):
            pyop_key = PyObjectPtr.from_pyobject_ptr(ep['me_key'])
            (yield (pyop_key, pyop_value))
