code: def iteritems(self):
      
      for name, value in self.__dict__.iteritems():
        if (not name) or name[0] == "_":
          continue
        yield name, value
docs: Return a iterable for (name, value) pairs of public attributes.