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

Static Public Attributes

 fields
 
- Static Public Attributes inherited from Stmt
 abstract
 
- Static Public Attributes inherited from Node
 fields
 
 attributes
 
 abstract
 

Additional Inherited Members

- Public Member Functions inherited from Node
def __init__ (self, *fields, **attributes)
 
def iter_fields (self, exclude=None, only=None)
 
def iter_child_nodes (self, exclude=None, only=None)
 
def find (self, node_type)
 
def find_all (self, node_type)
 
def set_ctx (self, ctx)
 
def set_lineno (self, lineno, override=False)
 
def set_environment (self, environment)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def __repr__ (self)
 
def dump (self)
 
- Public Member Functions inherited from NodeType
def __new__ (mcs, name, bases, d)
 

Detailed Description

A node that represents the from import tag.  It's important to not
pass unsafe names to the name attribute.  The compiler translates the
attribute lookups directly into getattr calls and does *not* use the
subscript callback of the interface.  As exported variables may not
start with double underscores (which the parser asserts) this is not a
problem for regular Jinja code, but if this node is used in an extension
extra care must be taken.

The list of names may contain tuples if aliases are wanted.

Field Documentation

◆ fields

fields
static

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