boolean (ASTNode node) { final ASTNode paramList = node.getTreeParent(); if (paramList != null) { final ASTNode container = paramList.getTreeParent(); if (container != null && container.getElementType() == PyElementTypes.LAMBDA_EXPRESSION) { return false; } } return super.shouldCreateStub(node); }