|
Orbits
1
|
Public Member Functions | |
| def | __init__ |
| def | visit |
| def | visit_Attribute |
Public Attributes | |
| statement | |
Static Public Attributes | |
| tuple | ALLOWED = (ast.Compare, ast.BoolOp, ast.Attribute, ast.Name, ast.Load, ast.Str) |
| def _markerlib.markers.ASTWhitelist.__init__ | ( | self, | |
| statement | |||
| ) |
| def _markerlib.markers.ASTWhitelist.visit | ( | self, | |
| node | |||
| ) |
Ensure statement only contains allowed nodes.
| def _markerlib.markers.ASTWhitelist.visit_Attribute | ( | self, | |
| node | |||
| ) |
Flatten one level of attribute access.
|
static |
| _markerlib.markers.ASTWhitelist.statement |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.