summaryrefslogtreecommitdiff
path: root/Lib/codeop.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/codeop.py')
-rw-r--r--Lib/codeop.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/codeop.py b/Lib/codeop.py
index 082285f94f..835e68c09b 100644
--- a/Lib/codeop.py
+++ b/Lib/codeop.py
@@ -112,7 +112,8 @@ def compile_command(source, filename="<input>", symbol="single"):
source -- the source string; may contain \n characters
filename -- optional filename from which source was read; default
"<input>"
- symbol -- optional grammar start symbol; "single" (default) or "eval"
+ symbol -- optional grammar start symbol; "single" (default), "exec"
+ or "eval"
Return value / exceptions raised: