Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstruct.tex @ 7712:0cbc9df882b6 legacy-trunk
Change "\," to just "," in function signatures. This is easier to maintain,
works better with LaTeX2HTML, and allows some simplification of the python.sty
macros.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Tue, 17 Mar 1998 06:33:25 +0000 |
| parents | 5e3c9d530bc1 |
| children | 8e5223680a9d |
line wrap: on
line diff
--- a/Doc/lib/libstruct.tex Tue Mar 17 06:29:13 1998 +0000 +++ b/Doc/lib/libstruct.tex Tue Mar 17 06:33:25 1998 +0000 @@ -16,14 +16,14 @@ describing what is wrong. \end{excdesc} -\begin{funcdesc}{pack}{fmt\, v1\, v2\, {\rm \ldots}} +\begin{funcdesc}{pack}{fmt, v1, v2, {\rm \ldots}} Return a string containing the values \code{\var{v1}, \var{v2}, {\rm \ldots}} packed according to the given format. The arguments must match the values required by the format exactly. \end{funcdesc} -\begin{funcdesc}{unpack}{fmt\, string} +\begin{funcdesc}{unpack}{fmt, string} Unpack the string (presumably packed by \code{pack(\var{fmt}, {\rm \ldots})}) according to the given format. The result is a tuple even if it contains exactly one item. The string must contain exactly the
