parameters: (self)
docstring: Yields a sequence of (PyObjectPtr key, PyObjectPtr value) pairs,
          analogous to dict.iteritems()
docstring_summary: Yields a sequence of (PyObjectPtr key, PyObjectPtr value) pairs,
          analogous to dict.iteritems()
docstring_tokens: Yields a sequence of ( PyObjectPtr key PyObjectPtr value ) pairs analogous to dict . iteritems ()
function: def iteritems(self):
          '''
          Yields a sequence of (PyObjectPtr key, PyObjectPtr value) pairs,
          analogous to dict.iteritems()
          '''
          keys = self.field('ma_keys')
          values = self.field('ma_values')
          entries, nentries = self._get_entries(keys)
          for i in safe_range(nentries):
              ep = entries[i]
              if long(values):
                  pyop_value = PyObjectPtr.from_pyobject_ptr(values[i])
              else:
                  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)
function_tokens: def iteritems ( self ) : keys = self . field ( 'ma_keys' ) values = self . field ( 'ma_values' ) entries , nentries = self . _get_entries ( keys ) for i in safe_range ( nentries ) : ep = entries [ i ] if long ( values ) : pyop_value = PyObjectPtr . from_pyobject_ptr ( values [ i ] ) else : 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 )