From f76f0eea5c00ea20ac62d9a8437a19f23fd455c5 Mon Sep 17 00:00:00 2001 From: Philip Jenvey Date: Thu, 13 Dec 2012 15:44:18 -0800 Subject: compile doesn't accept code objects --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index fac64bc..6f52a9a 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -657,7 +657,7 @@ builtin_compile(PyObject *self, PyObject *args, PyObject *kwds) goto finally; } - str = source_as_string(cmd, "compile", "string, bytes, AST or code", &cf); + str = source_as_string(cmd, "compile", "string, bytes or AST", &cf); if (str == NULL) goto error; -- cgit v0.12