From e7957184d230b7eda9e7db942bc8f96e71a8c34b Mon Sep 17 00:00:00 2001
From: Fred Drake <fdrake@acm.org>
Date: Sat, 4 Apr 1998 07:17:47 +0000
Subject: Change \sectcode to logical markup.

---
 Doc/ext.tex     | 6 +++---
 Doc/ext/ext.tex | 6 +++---
 Doc/tut.tex     | 6 +++---
 Doc/tut/tut.tex | 6 +++---
 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
-- 
cgit v0.12

