class_docstr: The sandboxed environment.  It works like the regular environment but
  tells the compiler to generate sandboxed code.  Additionally subclasses of
  this environment may override the methods that tell the runtime what
  attributes or functions are safe to access.
  
  If the template tries to access insecure code a :exc:`SecurityError` is
  raised.  However also other exceptions may occur during the rendering so
  the caller has to ensure that all exceptions are caught.
docstr: For intercepted unary operator calls (:meth:`intercepted_unops`)
  this function is executed instead of the builtin operator.  This can
  be used to fine tune the behavior of certain operators.
  
  .. versionadded:: 2.6
docstr_tok: ["For","intercepted","unary","operator","calls","(",":","meth",":","`","intercepted_unops","`",")","this","function","is","executed","instead","of","the","builtin","operator",".","This","can","be","used","to","fine","tune","the","behavior","of","certain","operators",".","..","versionadded",":",":","2.6"]
code: def call_unop(self, context, operator, arg):
      """For intercepted unary operator calls (:meth:`intercepted_unops`)
      this function is executed instead of the builtin operator.  This can
      be used to fine tune the behavior of certain operators.
  
      .. versionadded:: 2.6
      """
      return self.unop_table[operator](arg)
  
imports: import operator
  import types
  import warnings
  from collections import deque
  from string import Formatter
  from markupsafe import EscapeFormatter
  from markupsafe import Markup
  from ._compat import abc
  from ._compat import PY2
  from ._compat import range_type
  from ._compat import string_types
  from .environment import Environment
  from .exceptions import SecurityError
label_desc: Use image node_id 6 for calling the SandboxedEnvironment obj's underlying member method code with example usage: obj.call_unop(context, operator, arg) and returns: self