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: Called during template compilation with the name of a unary
  operator to check if it should be intercepted at runtime.  If this
  method returns `True`, :meth:`call_unop` is executed for this unary
  operator.  The default implementation of :meth:`call_unop` will use
  the :attr:`unop_table` dictionary to perform the operator with the
  same logic as the builtin one.
  
  The following unary operators are interceptable: ``+`` and ``-``
  
  Intercepted calls are always slower than the native operator call,
  so make sure only to intercept the ones you are interested in.
  
  .. versionadded:: 2.6
docstr_tok: ["Called","during","template","compilation","with","the","name","of","a","unary","operator","to","check","if","it","should","be","intercepted","at","runtime",".","If","this","method","returns","`","True","`",",",":","meth",":","`","call_unop","`","is","executed","for","this","unary","operator",".","The","default","implementation","of",":","meth",":","`","call_unop","`","will","use","the",":","attr",":","`","unop_table","`","dictionary","to","perform","the","operator","with","the","same","logic","as","the","builtin","one",".","The","following","unary","operators","are","interceptable",":","``","+","``","and","``","-","``","Intercepted","calls","are","always","slower","than","the","native","operator","call",",","so","make","sure","only","to","intercept","the","ones","you","are","interested","in",".","..","versionadded",":",":","2.6"]
code: def intercept_unop(self, operator):
      """Called during template compilation with the name of a unary
      operator to check if it should be intercepted at runtime.  If this
      method returns `True`, :meth:`call_unop` is executed for this unary
      operator.  The default implementation of :meth:`call_unop` will use
      the :attr:`unop_table` dictionary to perform the operator with the
      same logic as the builtin one.
  
      The following unary operators are interceptable: ``+`` and ``-``
  
      Intercepted calls are always slower than the native operator call,
      so make sure only to intercept the ones you are interested in.
  
      .. versionadded:: 2.6
      """
      return False
  
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 1 for calling the SandboxedEnvironment obj's underlying member method code with example usage: obj.intercept_unop(operator) and returns: False