diff options
author | Fred Drake <fdrake@acm.org> | 2001-12-14 16:57:31 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-12-14 16:57:31 (GMT) |
commit | b062cb22d07acd56c38db7df1981bc02761ada45 (patch) | |
tree | e12d36913e95c763201330d0bd4b47709f9c5f91 /Doc | |
parent | e27f86820a58af7fdb3d546fbf9ee8262d9e7440 (diff) | |
download | cpython-b062cb22d07acd56c38db7df1981bc02761ada45.zip cpython-b062cb22d07acd56c38db7df1981bc02761ada45.tar.gz cpython-b062cb22d07acd56c38db7df1981bc02761ada45.tar.bz2 |
Work around the problem of spaces after a "}" being dropped by LaTeX2HTML if
they were represented by newlines in the document source.
Partially fixes SF bug #493243.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/ref/ref5.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/ref/ref5.tex b/Doc/ref/ref5.tex index 10b52c3..9ed9337 100644 --- a/Doc/ref/ref5.tex +++ b/Doc/ref/ref5.tex @@ -510,8 +510,8 @@ is equivalent to a call with M+N positional arguments A consequence of this is that although the \samp{*expression} syntax appears \emph{after} any keyword arguments, it is processed -\emph{before} the keyword arguments (and the \samp{**expression} -argument, if any -- see below). So: +\emph{before} the keyword arguments (and the +\samp{**expression} argument, if any -- see below). So: \begin{verbatim} >>> def f(a, b): @@ -527,9 +527,9 @@ TypeError: f() got multiple values for keyword argument 'a' 1 2 \end{verbatim} -It is unusual for both keyword arguments and the \samp{*expression} -syntax to be used in the same call, so in practice this confusion does -not arise. +It is unusual for both keyword arguments and the +\samp{*expression} syntax to be used in the same call, so in practice +this confusion does not arise. If the syntax \samp{**expression} appears in the function call, \samp{expression} must evaluate to a (subclass of) dictionary, the |