parameters: (f: F)
return_statement: return pass_context(f)
docstring: Pass the context as the first argument to the decorated function.
  
      .. deprecated:: 3.0
          Will be removed in Jinja 3.1. Use :func:`~jinja2.pass_context`
          instead.
docstring_summary: Pass the context as the first argument to the decorated function.
docstring_tokens: Pass the context as the first argument to the decorated function .
function: def contextfunction(f: F) -> F:
      """Pass the context as the first argument to the decorated function.
  
      .. deprecated:: 3.0
          Will be removed in Jinja 3.1. Use :func:`~jinja2.pass_context`
          instead.
      """
      warnings.warn(
          "'contextfunction' is renamed to 'pass_context', the old name"
          " will be removed in Jinja 3.1.",
          DeprecationWarning,
          stacklevel=2,
      )
      return pass_context(f)
function_tokens: def contextfunction ( f : F ) -> F : warnings . warn ( "'contextfunction' is renamed to 'pass_context', the old name" " will be removed in Jinja 3.1." , DeprecationWarning , stacklevel = 2 , ) return pass_context ( f )