Commit 73c1a856 authored by Philip Jenvey's avatar Philip Jenvey

compile doesn't accept code objects

parent c056f52c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment