summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-01-20 05:20:39 (GMT)
committerFred Drake <fdrake@acm.org>1998-01-20 05:20:39 (GMT)
commit73a973bf8db901c1847c039855ba9c3559fd2610 (patch)
treeceed7fb91202b45ab497dd3323920a008a5ccec6 /Doc/lib
parentcbe50f4829bfbf8ccb74791a6d21daab72a73c84 (diff)
downloadcpython-73a973bf8db901c1847c039855ba9c3559fd2610.zip
cpython-73a973bf8db901c1847c039855ba9c3559fd2610.tar.gz
cpython-73a973bf8db901c1847c039855ba9c3559fd2610.tar.bz2
Always mark variables in the "Notes" following a table the same way as in the
tables: \var{} Add a couple of index entries to the File Objects section.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libtypes.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libtypes.tex b/Doc/lib/libtypes.tex
index 8dba8a5..ed0ed9b 100644
--- a/Doc/lib/libtypes.tex
+++ b/Doc/lib/libtypes.tex
@@ -545,7 +545,7 @@ Notes:
\item[(2)] Keys and values are listed in random order.
-\item[(3)] \code{b} must be of the same type as \code{a}.
+\item[(3)] \var{b} must be of the same type as \var{a}.
\item[(4)] Never raises an exception if \var{k} is not in the map,
instead it returns \var{f}. \var{f} is optional, when not provided
@@ -666,6 +666,8 @@ built-in functions and methods, e.g.\ \code{posix.popen()} and
\code{posix.fdopen()} and the \code{makefile()} method of socket
objects.
\bifuncindex{open}
+\refbimodindex{posix}
+\refbimodindex{socket}
When a file operation fails for an I/O-related reason, the exception
\code{IOError} is raised. This includes situations where the