code: def get(self, index):
          
          constant = self._pool[index]
          if not isinstance(constant, Constant):
              constant = _constant_types[constant[0]](self, index, *constant[1:])
              self._pool[index] = constant
          return constant
docs: Returns the `Constant` at `index`, raising a KeyError if it
          does not exist.