summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libdatetime.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-12-30 20:35:32 (GMT)
committerFred Drake <fdrake@acm.org>2002-12-30 20:35:32 (GMT)
commit9bdeee492a6676a63559dcdeee4c62fbaeb0f3e6 (patch)
tree704e5d200fa51c4334085d1b81300f803e9aa767 /Doc/lib/libdatetime.tex
parentb983aa0003026728b01705de043612b4ef1accfd (diff)
downloadcpython-9bdeee492a6676a63559dcdeee4c62fbaeb0f3e6.zip
cpython-9bdeee492a6676a63559dcdeee4c62fbaeb0f3e6.tar.gz
cpython-9bdeee492a6676a63559dcdeee4c62fbaeb0f3e6.tar.bz2
Clean up a table so it passes formatting.
Diffstat (limited to 'Doc/lib/libdatetime.tex')
-rw-r--r--Doc/lib/libdatetime.tex31
1 files changed, 19 insertions, 12 deletions
diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex
index 5b699bb..e8ac0dd 100644
--- a/Doc/lib/libdatetime.tex
+++ b/Doc/lib/libdatetime.tex
@@ -207,18 +207,25 @@ Instance attributes (read-only):
Supported operations:
\begin{tableiii}{c|l|c}{code}{Operation}{Result}{Notes}
- \lineii{\var{t1} = \var{t2} + \var{t3}}{Sum of \var{t2} and \var{t3}.
- Afterwards \var{t1}-\var{t2} == \var{t3} and \var{t1}-\var{t3} == \var{t2} are true.}{(1)}
- \lineii{\var{t1} = \var{t2} - \var{t3}}{Difference of \var{t2} and \var{t3}. Afterwards \var{t1} = \var{t2} - \var{t3} and
- \var{t2} == \var{t1} + \var{t3} are true.}{(1)}
- \lineii{\var{t1} = \var{t2} * \var{i} or \var{t1} = \var{i} * \var{t2}}
- {Delta multiplied by an integer or long.
- Afterwards \var{t1} // i == \var{t2} is true, provided i != 0.
- In general, \var{t1} * i == \var{t1} * (i-1) + \var{t1} is true.}{(1)}
- \lineii{\var{t1} = \var{t2} // \var{i}}{The floor is computed and the remainder (if any) is
- thrown away.}{(2)}
-
-\end{tableii}
+ \lineiii{\var{t1} = \var{t2} + \var{t3}}
+ {Sum of \var{t2} and \var{t3}.
+ Afterwards \var{t1}-\var{t2} == \var{t3} and \var{t1}-\var{t3}
+ == \var{t2} are true.}
+ {(1)}
+ \lineiii{\var{t1} = \var{t2} - \var{t3}}
+ {Difference of \var{t2} and \var{t3}. Afterwards \var{t1} ==
+ \var{t2} - \var{t3} and \var{t2} == \var{t1} + \var{t3} are
+ true.}
+ {(1)}
+ \lineiii{\var{t1} = \var{t2} * \var{i} or \var{t1} = \var{i} * \var{t2}}
+ {Delta multiplied by an integer or long.
+ Afterwards \var{t1} // i == \var{t2} is true, provided i != 0.
+ In general, \var{t1} * i == \var{t1} * (i-1) + \var{t1} is true.}
+ {(1)}
+ \lineiii{\var{t1} = \var{t2} // \var{i}}
+ {The floor is computed and the remainder (if any) is thrown away.}
+ {(2)}
+\end{tableiii}
\noindent
Notes: