New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes ipython/ipynb#31 #34

Merged
merged 1 commit into from Sep 18, 2017
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Diff settings

Always

Just for now

View
@@ -59,7 +59,8 @@ def node_predicate(node):
return True
if isinstance(node, ast.Assign):
return all([t.id.isupper() for t in node.targets])
return all([t.id.isupper() for t in node.targets if hasattr(t, 'id')]) \
and all([[e.id.isupper() for e in t.elts] for t in node.targets if hasattr(t, 'elts')])
return False
ProTip! Use n and p to navigate between commits in a pull request.