Merge dev into linter.

This commit is contained in:
Dave Halter
2015-11-10 21:52:18 +01:00
32 changed files with 451 additions and 123 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ class BaseDefinition(object):
raise AttributeError()
followed = followed[0] # only check the first one.
if followed.type == 'funcdef':
if followed.type in ('funcdef', 'lambda'):
if isinstance(followed, er.InstanceElement):
params = followed.params[1:]
else: