From: Fred Drake Date: Mon, 29 Dec 1997 19:02:01 +0000 (+0000) Subject: Use tableii environment for the table instead of tabular. This makes it X-Git-Tag: v1.5~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c416445d7e3616f7fd8caf4174a7b8c5e6a1c453;p=python Use tableii environment for the table instead of tabular. This makes it consistent with other 2-column tables in the Python documentation. --- diff --git a/Doc/lib/libresource.tex b/Doc/lib/libresource.tex index 37f124eddc..7af4368120 100644 --- a/Doc/lib/libresource.tex +++ b/Doc/lib/libresource.tex @@ -147,25 +147,24 @@ These functiona are used to retrieve resource usage information: for detailed information about these values. A brief summary is presented here: -\begin{tabular}{rl} - \emph{offset} & \emph{resource} \\ - 0 & time in user mode (float) \\ - 1 & time in system mode (float) \\ - 2 & maximum resident set size \\ - 3 & shared memory size \\ - 4 & unshared memory size \\ - 5 & unshared stack size \\ - 6 & page faults not requiring I/O \\ - 7 & page faults requiring I/O \\ - 8 & number of swap outs \\ - 9 & block input operations \\ - 10 & block output operations \\ - 11 & messages sent \\ - 12 & messages received \\ - 13 & signals received \\ - 14 & voluntary context switches \\ - 15 & involuntary context switches \\ -\end{tabular} +\begin{tableii}{|r|l|}{code}{Offset}{Resource} + \lineii{0}{time in user mode (float)} + \lineii{1}{time in system mode (float)} + \lineii{2}{maximum resident set size} + \lineii{3}{shared memory size} + \lineii{4}{unshared memory size} + \lineii{5}{unshared stack size} + \lineii{6}{page faults not requiring I/O} + \lineii{7}{page faults requiring I/O} + \lineii{8}{number of swap outs} + \lineii{9}{block input operations} + \lineii{10}{block output operations} + \lineii{11}{messages sent} + \lineii{12}{messages received} + \lineii{13}{signals received} + \lineii{14}{voluntary context switches} + \lineii{15}{involuntary context switches} +\end{tableii} This function will raise a \code{ValueError} if an invalid \var{who} parameter is specified. It may also raise a \code{resource.error} diff --git a/Doc/libresource.tex b/Doc/libresource.tex index 37f124eddc..7af4368120 100644 --- a/Doc/libresource.tex +++ b/Doc/libresource.tex @@ -147,25 +147,24 @@ These functiona are used to retrieve resource usage information: for detailed information about these values. A brief summary is presented here: -\begin{tabular}{rl} - \emph{offset} & \emph{resource} \\ - 0 & time in user mode (float) \\ - 1 & time in system mode (float) \\ - 2 & maximum resident set size \\ - 3 & shared memory size \\ - 4 & unshared memory size \\ - 5 & unshared stack size \\ - 6 & page faults not requiring I/O \\ - 7 & page faults requiring I/O \\ - 8 & number of swap outs \\ - 9 & block input operations \\ - 10 & block output operations \\ - 11 & messages sent \\ - 12 & messages received \\ - 13 & signals received \\ - 14 & voluntary context switches \\ - 15 & involuntary context switches \\ -\end{tabular} +\begin{tableii}{|r|l|}{code}{Offset}{Resource} + \lineii{0}{time in user mode (float)} + \lineii{1}{time in system mode (float)} + \lineii{2}{maximum resident set size} + \lineii{3}{shared memory size} + \lineii{4}{unshared memory size} + \lineii{5}{unshared stack size} + \lineii{6}{page faults not requiring I/O} + \lineii{7}{page faults requiring I/O} + \lineii{8}{number of swap outs} + \lineii{9}{block input operations} + \lineii{10}{block output operations} + \lineii{11}{messages sent} + \lineii{12}{messages received} + \lineii{13}{signals received} + \lineii{14}{voluntary context switches} + \lineii{15}{involuntary context switches} +\end{tableii} This function will raise a \code{ValueError} if an invalid \var{who} parameter is specified. It may also raise a \code{resource.error}