def _evaluation_context(self, escape, safe_wrapper):
        """Configure the evaluation context."""
        self._escape = escape
        self._safe_wrapper = safe_wrapper

        try:
            yield
        finally:
            self._escape = None
            self._safe_wrapper = None
def _evaluation_context ( self , escape , safe_wrapper ) : self . _escape = escape self . _safe_wrapper = safe_wrapper try : yield finally : self . _escape = None self . _safe_wrapper = None
Configure the evaluation context.