Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libarray.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 | ef980e17b593 |
| children | 6d04e8c817fb |
line wrap: on
line diff
--- a/Doc/lib/libarray.tex Tue Mar 17 06:29:13 1998 +0000 +++ b/Doc/lib/libarray.tex Tue Mar 17 06:33:25 1998 +0000 @@ -35,7 +35,7 @@ The module defines the following function: -\begin{funcdesc}{array}{typecode\optional{\, initializer}} +\begin{funcdesc}{array}{typecode\optional{, initializer}} Return a new array whose items are restricted by \var{typecode}, and initialized from the optional \var{initializer} value, which must be a list or a string. The list or string is passed to the new array's @@ -77,7 +77,7 @@ on a machine with a different byte order. \end{funcdesc} -\begin{funcdesc}{fromfile}{f\, n} +\begin{funcdesc}{fromfile}{f, n} Read \var{n} items (as machine values) from the file object \var{f} and append them to the end of the array. If less than \var{n} items are available, \exception{EOFError} is raised, but the items that were @@ -98,12 +98,12 @@ file using the \method{fromfile()} method). \end{funcdesc} -\begin{funcdesc}{insert}{i\, x} +\begin{funcdesc}{insert}{i, x} Insert a new item with value \var{x} in the array before position \var{i}. \end{funcdesc} -\begin{funcdesc}{read}{f\, n} +\begin{funcdesc}{read}{f, n} \deprecated {1.5.1} {Use the \method{fromfile()} method.} Read \var{n} items (as machine values) from the file object \var{f}
