code: def values(self):
          
          if ver == (2, 7):
              return self.viewvalues()
          elif ver == (2, 6):
              return self.itervalues()
          elif ver >= (3, 0):
              return self.values()
docs: On Python 2.7+:
              D.values() -> a set-like object providing a view on D's values
          On Python 2.6:
              D.values() -> an iterator over D's values