mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Update signature style for optional arguments, part 3.
This commit is contained in:
parent
388faac8cb
commit
c2a4f4fb67
14 changed files with 63 additions and 70 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue