micropython/inspect.py | raw changeset files shortlog |
1.1 --- a/micropython/inspect.py Tue Jul 03 01:16:03 2012 +0200 1.2 +++ b/micropython/inspect.py Tue Jul 03 01:33:24 2012 +0200 1.3 @@ -1266,6 +1266,9 @@ 1.4 self.dispatch(node.body) 1.5 1.6 for name, var, n in node.handlers: 1.7 + if name is not None: 1.8 + self.dispatch(name) 1.9 + 1.10 self.new_branch(n) 1.11 1.12 # Any abandoned branches from the body can now be resumed.