# HG changeset patch # User Paul Boddie # Date 1389653858 -3600 # Node ID 4ab6588b1998968476572e4b5d79b48777f1e57d # Parent aacb3fbdccce54657f948304a7713fc1fdf71ba2 Fixed operator module references for nested operator nodes. diff -r aacb3fbdccce -r 4ab6588b1998 micropython/inspect.py --- a/micropython/inspect.py Mon Jan 13 16:30:33 2014 +0100 +++ b/micropython/inspect.py Mon Jan 13 23:57:38 2014 +0100 @@ -260,6 +260,7 @@ isinstance(n, (compiler.ast.AugAssign, compiler.ast.Compare)): n._module = self.importer.load("operator") + self.process_structure(n) else: self.process_structure(n)