# HG changeset patch # User Paul Boddie # Date 1361481551 -3600 # Node ID 17bf6f1fc1343f9cf948f4533cbea2e01c2eeb5f # Parent 679c00a39f79968ad51af5a5c2a9293a0f528f33 Added annotation attributes for Subscript nodes. diff -r 679c00a39f79 -r 17bf6f1fc134 compiler/ast.py --- a/compiler/ast.py Thu Feb 21 22:18:23 2013 +0100 +++ b/compiler/ast.py Thu Feb 21 22:19:11 2013 +0100 @@ -1870,6 +1870,13 @@ self.subs = subs self.lineno = lineno + # Additional annotations. + + self._expr = None + self._attr = None + self._attrusers = None + self._username = None + def getChildren(self): children = [] children.append(self.expr)