Skip to content

Commit

Permalink
compile doesn't accept code objects
Browse files Browse the repository at this point in the history
  • Loading branch information
pjenvey committed Dec 13, 2012
1 parent b67596d commit f76f0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/bltinmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f76f0ee

Please sign in to comment.