summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-12-29 19:02:01 (GMT)
committerFred Drake <fdrake@acm.org>1997-12-29 19:02:01 (GMT)
commitc416445d7e3616f7fd8caf4174a7b8c5e6a1c453 (patch)
tree01859c85c2c747569e655920a98636a5de75d975
parent671fe9dd3129129b8be53cede504b7dc772e58a1 (diff)
downloadcpython-c416445d7e3616f7fd8caf4174a7b8c5e6a1c453.zip
cpython-c416445d7e3616f7fd8caf4174a7b8c5e6a1c453.tar.gz
cpython-c416445d7e3616f7fd8caf4174a7b8c5e6a1c453.tar.bz2
Use tableii environment for the table instead of tabular. This makes it
consistent with other 2-column tables in the Python documentation.
-rw-r--r--Doc/lib/libresource.tex37
-rw-r--r--Doc/libresource.tex37
2 files changed, 36 insertions, 38 deletions
diff --git a/Doc/lib/libresource.tex b/Doc/lib/libresource.tex
index 37f124e..7af4368 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 37f124e..7af4368 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}