1.1 --- a/micropython/inspect.py Fri Oct 25 19:03:30 2013 +0200
1.2 +++ b/micropython/inspect.py Fri Oct 25 19:40:52 2013 +0200
1.3 @@ -903,10 +903,15 @@
1.4
1.5 # Process the assignment.
1.6
1.7 + expr = self.expr
1.8 + self.expr = make_instance() # each element is a result of an item access
1.9 +
1.10 for i, n in enumerate(node.nodes):
1.11 self.dispatch(n)
1.12 self._visitConst(i) # for __getitem__(i) at run-time
1.13
1.14 + self.expr = expr
1.15 +
1.16 def visitAssName(self, node):
1.17 if node.flags == "OP_DELETE":
1.18 print >>sys.stderr, "Warning: deletion of attribute %r in %r is not supported." % (node.name, self.full_name())