]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Change \sectcode to logical markup.
authorFred Drake <fdrake@acm.org>
Sat, 4 Apr 1998 07:17:47 +0000 (07:17 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 4 Apr 1998 07:17:47 +0000 (07:17 +0000)
Doc/ext.tex
Doc/ext/ext.tex
Doc/tut.tex
Doc/tut/tut.tex

index 787914e7b76c925fefdad23176d9a39f9c34f4d0..fc56a80323d4decfb66743aec616efd03f8acafc 100644 (file)
@@ -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
index 787914e7b76c925fefdad23176d9a39f9c34f4d0..fc56a80323d4decfb66743aec616efd03f8acafc 100644 (file)
@@ -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
index d00b37ecfc3ef2a896d6955ea7c2332832e92b35..0d160339d7d8ad623c2e14a2f26afd2317189015 100644 (file)
@@ -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
index d00b37ecfc3ef2a896d6955ea7c2332832e92b35..0d160339d7d8ad623c2e14a2f26afd2317189015 100644 (file)
@@ -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