summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorPhilip Jenvey <pjenvey@underboss.org>2012-12-13 23:44:18 (GMT)
committerPhilip Jenvey <pjenvey@underboss.org>2012-12-13 23:44:18 (GMT)
commitf76f0eea5c00ea20ac62d9a8437a19f23fd455c5 (patch)
treeb1937fbcfd4744fd602580a97511f83055fd4e57 /Python/bltinmodule.c
parentb67596d8157ef972d418e623a99c8462f485c4d6 (diff)
downloadcpython-f76f0eea5c00ea20ac62d9a8437a19f23fd455c5.zip
cpython-f76f0eea5c00ea20ac62d9a8437a19f23fd455c5.tar.gz
cpython-f76f0eea5c00ea20ac62d9a8437a19f23fd455c5.tar.bz2
compile doesn't accept code objects
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
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;