prevent lambda functions from having docstrings #8164
diff --git a/Python/compile.c b/Python/compile.c
index 4ea2ee9..12210e1 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1518,6 +1518,11 @@
 
 	/* unpack nested arguments */
 	compiler_arguments(c, args);
+
+	/* Make None the first constant, so the lambda can't have a
+	   docstring. */
+	if (compiler_add_o(c, c->u->u_consts, Py_None) < 0)
+		return 0;
 	
 	c->u->u_argcount = asdl_seq_LEN(args->args);
 	VISIT_IN_SCOPE(c, expr, e->v.Lambda.body);