Change \sectcode to logical markup.
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 @@
 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 @@
 \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 @@
 \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 @@
 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 @@
 \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 @@
 \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 @@
 ['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 @@
 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 @@
 >>> 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 @@
 ['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 @@
 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 @@
 >>> 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