diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index fac64bcc69f..6f52a9a8cf1 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;