compiler.future
index
/usr/lib/python2.2/compiler/future.py

Parser for future statements

 
Modules
            
compiler.ast
 
Classes
            
BadFutureParser
FutureParser
 
class BadFutureParser
      Check for invalid future statements
 
   Methods defined here:
visitFrom(self, node)

Data and non-method functions defined here:
__doc__ = 'Check for invalid future statements'
__module__ = 'compiler.future'
 
class FutureParser
       
   Methods defined here:
__init__(self)
check_stmt(self, stmt)
get_features(self)
Return list of features enabled by future statements
visitModule(self, node)

Data and non-method functions defined here:
__doc__ = None
__module__ = 'compiler.future'
features = ('nested_scopes', 'generators', 'division')
 
Functions
            
find_futures(node)
is_future(stmt)
Return true if statement is a well-formed future statement
 
Data
             __file__ = '/usr/lib/python2.2/compiler/future.pyc'
__name__ = 'compiler.future'