| | |
- 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')
| |