summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libtypes.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-11 15:57:17 (GMT)
committerGuido van Rossum <guido@python.org>1996-10-11 15:57:17 (GMT)
commit1dde7b737c10cb5d662a6f15866bd6e420f5c2f2 (patch)
treee3169575c06e8841056c1f7ea414e2a7084354ed /Doc/lib/libtypes.tex
parentc153d1273839cb3e0e69c2f6460cb099c8031d61 (diff)
downloadcpython-1dde7b737c10cb5d662a6f15866bd6e420f5c2f2.zip
cpython-1dde7b737c10cb5d662a6f15866bd6e420f5c2f2.tar.gz
cpython-1dde7b737c10cb5d662a6f15866bd6e420f5c2f2.tar.bz2
Typos detected by Sjoerd
Diffstat (limited to 'Doc/lib/libtypes.tex')
-rw-r--r--Doc/lib/libtypes.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex
index 052bc9f..2b6b31e 100644
--- a/Doc/lib/libtypes.tex
+++ b/Doc/lib/libtypes.tex
@@ -492,7 +492,7 @@ can be used interchangeably to index the same dictionary entry.
\indexii{dictionary}{type}
Dictionaries are created by placing a comma-separated list of
-\code{\var{key}:\,var{value}} pairs within braces, for example:
+\code{\var{key}:\,\var{value}} pairs within braces, for example:
\code{\{'jack':\,4098, 'sjoerd':\,4127\}} or
\code{\{4098:\,'jack', 4127:\,'sjoerd'\}}.
@@ -683,7 +683,7 @@ Files have the following methods:
you can tell whether the last line of a file ended in a newline
or not (yes this happens!).}
(but may be absent when a file ends with an
- incomplete line). If thevar{size} argument is present and
+ incomplete line). If the \var{size} argument is present and
non-negative, it is a maximum byte count (including the trailing
newline) and an incomplete line may be returned.
An empty string is returned when \EOF{} is hit
@@ -713,7 +713,7 @@ Files have the following methods:
Truncate the file's size. If the optional size argument present, the
file is truncated to (at most) that size. The size defaults to the
current position. Availability of this function depends on the
-operating system version (e.g., not all {\UNIX} versions support this
+operating system version (e.g., not all \UNIX{} versions support this
operation).
\end{funcdesc}