From 933142a8f238529c610edf2100c4208a8ee82805 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 6 Dec 2013 20:12:39 -0500 Subject: document that compile() can take bytes (closes #19910) --- Python/bltinmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/bltinmodule.c') diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index dffdf46a62..c94daea027 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -676,7 +676,7 @@ finally: PyDoc_STRVAR(compile_doc, "compile(source, filename, mode[, flags[, dont_inherit]]) -> code object\n\ \n\ -Compile the source string (a Python module, statement or expression)\n\ +Compile the source (a Python module, statement or expression)\n\ into a code object that can be executed by exec() or eval().\n\ The filename will be used for run-time error messages.\n\ The mode must be 'exec' to compile a module, 'single' to compile a\n\ -- cgit v1.2.1