summaryrefslogtreecommitdiffstats
path: root/Doc
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
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')
-rw-r--r--Doc/lib/libtypes.tex4
-rw-r--r--Doc/libtypes.tex4
2 files changed, 6 insertions, 2 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
diff --git a/Doc/libtypes.tex b/Doc/libtypes.tex
index 8dba8a5..ed0ed9b 100644
--- a/Doc/libtypes.tex
+++ b/Doc/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