summaryrefslogtreecommitdiff
path: root/Doc/library/codeop.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-04-10 09:03:43 +0000
committerGeorg Brandl <georg@python.org>2009-04-10 09:03:43 +0000
commitc2a4f4fb67a76cb04731beebc515878f9b91674c (patch)
tree35fe3ee01b0b32931f4beb11ebcc4553d0f34f3a /Doc/library/codeop.rst
parent388faac8cb5be6ad1ad474bae237b71bd00a1900 (diff)
downloadcpython-git-c2a4f4fb67a76cb04731beebc515878f9b91674c.tar.gz
Update signature style for optional arguments, part 3.
Diffstat (limited to 'Doc/library/codeop.rst')
-rw-r--r--Doc/library/codeop.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/codeop.rst b/Doc/library/codeop.rst
index e4523b6b95..2c066ef96b 100644
--- a/Doc/library/codeop.rst
+++ b/Doc/library/codeop.rst
@@ -26,7 +26,7 @@ of doing them both.
To do just the former:
-.. function:: compile_command(source[, filename[, symbol]])
+.. function:: compile_command(source, filename="<input>", symbol="single")
Tries to compile *source*, which should be a string of Python code and return a
code object if *source* is valid Python code. In that case, the filename