summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-12-07 01:12:39 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-12-07 01:12:39 (GMT)
commit933142a8f238529c610edf2100c4208a8ee82805 (patch)
tree4590e4c17911495abe8778ae73a477f1cf9c3706 /Python/bltinmodule.c
parentd4d60554bcd93e7a6a1d5eb29e11be945f161a80 (diff)
downloadcpython-933142a8f238529c610edf2100c4208a8ee82805.zip
cpython-933142a8f238529c610edf2100c4208a8ee82805.tar.gz
cpython-933142a8f238529c610edf2100c4208a8ee82805.tar.bz2
document that compile() can take bytes (closes #19910)
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index dffdf46..c94daea 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\