minor edits

This commit is contained in:
Anthony Scopatz 2015-02-11 02:08:33 -06:00
parent 5d64d4492f
commit 84b620ea70

View file

@ -17,8 +17,6 @@ def leftmostname(node):
"""Attempts to find the first name in the tree."""
if isinstance(node, Name):
rtn = node.id
#elif isinstance(node, (Str, Bytes)):
# rtn = node.s
elif isinstance(node, (BinOp, Compare)):
rtn = leftmostname(node.left)
elif isinstance(node, (Attribute, Subscript, Starred, Expr)):