code: def type(self):
          "The type of elements stored in the mapping."
          if self._type is None and len(self):
              self._type = self.values()[0].__class__
          return self._typf type(self):
          "The type of elements stored in the mapping."
          if self._type is None and len(self):
              self._type = self.values()[0].__class__
          return self._type
docs: The type of elements stored in the mapping.