compile doesn't accept code objects

This commit is contained in:
Philip Jenvey 2012-12-13 15:44:18 -08:00
parent b67596d815
commit f76f0eea5c
1 changed files with 1 additions and 1 deletions

View File

@ -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;