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

Static Public Attributes

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

Additional Inherited Members

- Public Member Functions inherited from Expr
def as_const (self, eval_ctx=None)
 
def can_assign (self)
 
- 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

If created with an import name the import name is returned on node
access.  For example ``ImportedName('cgi.escape')`` returns the `escape`
function from the cgi module on evaluation.  Imports are optimized by the
compiler so there is no need to assign them to local variables.

Field Documentation

◆ fields

fields
static

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