]> granicus.if.org Git - python/commitdiff
Work around the problem of spaces after a "}" being dropped by LaTeX2HTML if
authorFred Drake <fdrake@acm.org>
Fri, 14 Dec 2001 16:57:31 +0000 (16:57 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 14 Dec 2001 16:57:31 +0000 (16:57 +0000)
they were represented by newlines in the document source.
Partially fixes SF bug #493243.

Doc/ref/ref5.tex

index 10b52c3e25761667edbaf6f33ba2726b36773d9e..9ed93370b64c6903d38280216849cc43068cdc1b 100644 (file)
@@ -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