OpenQuizz
Une application de gestion des contenus pédagogiques
Macro Class Reference
Inheritance diagram for Macro:
Collaboration diagram for Macro:

Public Member Functions

def __init__ (self, environment, func, name, arguments, catch_kwargs, catch_varargs, caller, default_autoescape=None)
 
def __call__ (self, *args, **kwargs)
 
def __repr__ (self)
 

Data Fields

 name
 
 arguments
 
 catch_kwargs
 
 catch_varargs
 
 caller
 
 explicit_caller
 

Detailed Description

Wraps a macro function.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  environment,
  func,
  name,
  arguments,
  catch_kwargs,
  catch_varargs,
  caller,
  default_autoescape = None 
)

Member Function Documentation

◆ __call__()

def __call__ (   self,
args,
**  kwargs 
)

◆ __repr__()

def __repr__ (   self)

Field Documentation

◆ arguments

arguments

◆ caller

caller

◆ catch_kwargs

catch_kwargs

◆ catch_varargs

catch_varargs

◆ explicit_caller

explicit_caller

◆ name

name

The documentation for this class was generated from the following file: