code: def iteritems(self, pattern="*"):
          
          for key in self.keys(pattern):
              yield (key, self[key])
docs: An iterator over all the ``(key, value)`` items in the database,
          or where the keys matches ``pattern``.