# HG changeset patch # User Paul Boddie # Date 1361481551 -3600 # Node ID 595c638208492408e99adffe54ccb7f21a0f5c38 # Parent f2afc234c311cf32621a7fcd0745e7d89a8b7be6 Added annotation attributes for Subscript nodes. diff -r f2afc234c311 -r 595c63820849 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 @@ -1791,6 +1791,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)