summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-04 07:17:47 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-04 07:17:47 (GMT)
commite7957184d230b7eda9e7db942bc8f96e71a8c34b (patch)
tree465fc74ec9b63685706b8c69e2643310be0e21db
parentfc57619811688c2ca885d285c651e0da59b88cc4 (diff)
downloadcpython-e7957184d230b7eda9e7db942bc8f96e71a8c34b.zip
cpython-e7957184d230b7eda9e7db942bc8f96e71a8c34b.tar.gz
cpython-e7957184d230b7eda9e7db942bc8f96e71a8c34b.tar.bz2
Change \sectcode to logical markup.
-rw-r--r--Doc/ext.tex6
-rw-r--r--Doc/ext/ext.tex6
-rw-r--r--Doc/tut.tex6
-rw-r--r--Doc/tut/tut.tex6
4 files changed, 12 insertions, 12 deletions
diff --git a/Doc/ext.tex b/Doc/ext.tex
index 787914e..fc56a80 100644
--- a/Doc/ext.tex
+++ b/Doc/ext.tex
@@ -557,7 +557,7 @@ code is not complete: \cfunction{Py_BuildValue()} may run out of
memory, and this should be checked.
-\section{Format Strings for \sectcode{PyArg_ParseTuple()}}
+\section{Format Strings for \cfunction{PyArg_ParseTuple()}}
\label{parseTuple}
The \cfunction{PyArg_ParseTuple()} function is declared as follows:
@@ -763,7 +763,7 @@ Some example calls:
\end{verbatim}
-\section{Keyword Parsing with \sectcode{PyArg_ParseTupleAndKeywords()}}
+\section{Keyword Parsing with \cfunction{PyArg_ParseTupleAndKeywords()}}
\label{parseTupleAndKeywords}
The \cfunction{PyArg_ParseTupleAndKeywords()} function is declared as
@@ -833,7 +833,7 @@ initkeywdarg()
\end{verbatim}
-\section{The \sectcode{Py_BuildValue()} Function}
+\section{The \cfunction{Py_BuildValue()} Function}
\label{buildValue}
This function is the counterpart to \cfunction{PyArg_ParseTuple()}. It is
diff --git a/Doc/ext/ext.tex b/Doc/ext/ext.tex
index 787914e..fc56a80 100644
--- a/Doc/ext/ext.tex
+++ b/Doc/ext/ext.tex
@@ -557,7 +557,7 @@ code is not complete: \cfunction{Py_BuildValue()} may run out of
memory, and this should be checked.
-\section{Format Strings for \sectcode{PyArg_ParseTuple()}}
+\section{Format Strings for \cfunction{PyArg_ParseTuple()}}
\label{parseTuple}
The \cfunction{PyArg_ParseTuple()} function is declared as follows:
@@ -763,7 +763,7 @@ Some example calls:
\end{verbatim}
-\section{Keyword Parsing with \sectcode{PyArg_ParseTupleAndKeywords()}}
+\section{Keyword Parsing with \cfunction{PyArg_ParseTupleAndKeywords()}}
\label{parseTupleAndKeywords}
The \cfunction{PyArg_ParseTupleAndKeywords()} function is declared as
@@ -833,7 +833,7 @@ initkeywdarg()
\end{verbatim}
-\section{The \sectcode{Py_BuildValue()} Function}
+\section{The \cfunction{Py_BuildValue()} Function}
\label{buildValue}
This function is the counterpart to \cfunction{PyArg_ParseTuple()}. It is
diff --git a/Doc/tut.tex b/Doc/tut.tex
index d00b37e..0d16033 100644
--- a/Doc/tut.tex
+++ b/Doc/tut.tex
@@ -923,7 +923,7 @@ makes this particularly convenient:
['defenestrate', 'cat', 'window', 'defenestrate']
\end{verbatim}
-\section{The \sectcode{range()} Function}
+\section{The \function{range()} Function}
\label{range}
If you do need to iterate over a sequence of numbers, the built-in
@@ -1470,7 +1470,7 @@ item, then to the result and the next item, and so on. For example,
0
\end{verbatim}
-\section{The \sectcode{del} statement}
+\section{The \keyword{del} statement}
\label{del}
There is a way to remove an item from a list given its index instead
@@ -1935,7 +1935,7 @@ is not set. You can modify it using standard list operations, e.g.:
>>> sys.path.append('/ufs/guido/lib/python')
\end{verbatim}
-\section{The \sectcode{dir()} Function}
+\section{The \function{dir()} Function}
\label{dir}
The built-in function \function{dir()} is used to find out which names
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index d00b37e..0d16033 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -923,7 +923,7 @@ makes this particularly convenient:
['defenestrate', 'cat', 'window', 'defenestrate']
\end{verbatim}
-\section{The \sectcode{range()} Function}
+\section{The \function{range()} Function}
\label{range}
If you do need to iterate over a sequence of numbers, the built-in
@@ -1470,7 +1470,7 @@ item, then to the result and the next item, and so on. For example,
0
\end{verbatim}
-\section{The \sectcode{del} statement}
+\section{The \keyword{del} statement}
\label{del}
There is a way to remove an item from a list given its index instead
@@ -1935,7 +1935,7 @@ is not set. You can modify it using standard list operations, e.g.:
>>> sys.path.append('/ufs/guido/lib/python')
\end{verbatim}
-\section{The \sectcode{dir()} Function}
+\section{The \function{dir()} Function}
\label{dir}
The built-in function \function{dir()} is used to find out which names