code: def eval(self, expr, source_name="<string>", inner_namespace={}):
          
          code = compile(expr, source_name, "eval", self.flags, False)
          return eval(code, {}, VarLookupDict([inner_namespace]
                                              + self._namespaces))
docs: Evaluate some Python code in the encapsulated environment.
          :arg expr: A string containing a Python expression.
          :arg source_name: A name for this string, for use in tracebacks.
          :arg inner_namespace: A dict-like object that will be checked first
            when `expr` attempts to access any variables.
          :returns: The value of `expr`.