summaryrefslogtreecommitdiffstats
path: root/Doc/ref7.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-06-26 19:26:20 (GMT)
committerGuido van Rossum <guido@python.org>1996-06-26 19:26:20 (GMT)
commit00ed6a3279371854400902ce8ef437d3225ef285 (patch)
treeae897d951cd865bc35dfc14bbd8e048f6b6a32cb /Doc/ref7.tex
parent036eae664788df268ab8b95b522f3a95878624b1 (diff)
downloadcpython-00ed6a3279371854400902ce8ef437d3225ef285.zip
cpython-00ed6a3279371854400902ce8ef437d3225ef285.tar.gz
cpython-00ed6a3279371854400902ce8ef437d3225ef285.tar.bz2
added '**kw' to parameter list syntax
Diffstat (limited to 'Doc/ref7.tex')
-rw-r--r--Doc/ref7.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/ref7.tex b/Doc/ref7.tex
index 89fa6ed..9bce121 100644
--- a/Doc/ref7.tex
+++ b/Doc/ref7.tex
@@ -275,7 +275,9 @@ keyword arguments is not yet documented in this manual. See chapter
\begin{verbatim}
funcdef: "def" funcname "(" [parameter_list] ")" ":" suite
-parameter_list: (defparameter ",")* ("*" identifier | defparameter [","])
+parameter_list: (defparameter ",")* ("*" identifier [, "**" identifier]
+ | "**" identifier
+ | defparameter [","])
defparameter: parameter ["=" condition]
sublist: parameter ("," parameter)* [","]
parameter: identifier | "(" sublist ")"