compiler.future
index
/usr/local/lib/python2.4/compiler/future.py
Module Docs

Parser for future statements

 
Modules
       
compiler.ast

 
Classes
       
BadFutureParser
FutureParser

 
class BadFutureParser
    Check for invalid future statements
 
  Methods defined here:
visitFrom(self, node)

 
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 other attributes defined here:
features = ('nested_scopes', 'generators', 'division')

 
Functions
       
find_futures(node)
is_future(stmt)
Return true if statement is a well-formed future statement