summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-12-30 20:21:21 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-12-30 20:21:21 (GMT)
commit0de926fd121236eeac66c4066bf3747406cdc061 (patch)
tree122eab99aab0c8ca88236bf8a958947beab7175f /Doc
parent3ea60c2a7ae8e24e4037c1960820b7e151a91848 (diff)
downloadcpython-0de926fd121236eeac66c4066bf3747406cdc061.zip
cpython-0de926fd121236eeac66c4066bf3747406cdc061.tar.gz
cpython-0de926fd121236eeac66c4066bf3747406cdc061.tar.bz2
Added the \var{} markup so the tables will look good.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libdatetime.tex17
1 files changed, 9 insertions, 8 deletions
diff --git a/Doc/lib/libdatetime.tex b/Doc/lib/libdatetime.tex
index f09bda7..5b699bb 100644
--- a/Doc/lib/libdatetime.tex
+++ b/Doc/lib/libdatetime.tex
@@ -207,14 +207,15 @@ Instance attributes (read-only):
Supported operations:
\begin{tableiii}{c|l|c}{code}{Operation}{Result}{Notes}
- \lineii{t1 = t2 + t3}{Sum of t2 and t3.
- Afterwards t1-t2 == t3 and t1-t3 == t2 are true.}{(1)}
- \lineii{t1 = t2 - t3}{Difference of t2 and t3. Afterwards t1 = t2 - t3 and
- t2 == t1 + t3 are true.}{(1)}
- \lineii{t1 = t2 * i or t1 = i * t2}{Delta multiplied by an integer or long.
- Afterwards t1 // i == t2 is true, provided i != 0.
- In general, t1 * i == t1 * (i-1) + t1 is true.}{(1)}
- \lineii{t1 = t2 // i}{The floor is computed and the remainder (if any) is
+ \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}