Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e795718

Browse files
committed
Change \sectcode to logical markup.
1 parent fc57619 commit e795718

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

Doc/ext.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ \section{Calling Python Functions From \C{}}
557557
memory, and this should be checked.
558558

559559

560-
\section{Format Strings for \sectcode{PyArg_ParseTuple()}}
560+
\section{Format Strings for \cfunction{PyArg_ParseTuple()}}
561561
\label{parseTuple}
562562

563563
The \cfunction{PyArg_ParseTuple()} function is declared as follows:
@@ -763,7 +763,7 @@ \section{Format Strings for \sectcode{PyArg_ParseTuple()}}
763763
\end{verbatim}
764764

765765

766-
\section{Keyword Parsing with \sectcode{PyArg_ParseTupleAndKeywords()}}
766+
\section{Keyword Parsing with \cfunction{PyArg_ParseTupleAndKeywords()}}
767767
\label{parseTupleAndKeywords}
768768

769769
The \cfunction{PyArg_ParseTupleAndKeywords()} function is declared as
@@ -833,7 +833,7 @@ \section{Keyword Parsing with \sectcode{PyArg_ParseTupleAndKeywords()}}
833833
\end{verbatim}
834834

835835

836-
\section{The \sectcode{Py_BuildValue()} Function}
836+
\section{The \cfunction{Py_BuildValue()} Function}
837837
\label{buildValue}
838838

839839
This function is the counterpart to \cfunction{PyArg_ParseTuple()}. It is

Doc/ext/ext.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ \section{Calling Python Functions From \C{}}
557557
memory, and this should be checked.
558558

559559

560-
\section{Format Strings for \sectcode{PyArg_ParseTuple()}}
560+
\section{Format Strings for \cfunction{PyArg_ParseTuple()}}
561561
\label{parseTuple}
562562

563563
The \cfunction{PyArg_ParseTuple()} function is declared as follows:
@@ -763,7 +763,7 @@ \section{Format Strings for \sectcode{PyArg_ParseTuple()}}
763763
\end{verbatim}
764764

765765

766-
\section{Keyword Parsing with \sectcode{PyArg_ParseTupleAndKeywords()}}
766+
\section{Keyword Parsing with \cfunction{PyArg_ParseTupleAndKeywords()}}
767767
\label{parseTupleAndKeywords}
768768

769769
The \cfunction{PyArg_ParseTupleAndKeywords()} function is declared as
@@ -833,7 +833,7 @@ \section{Keyword Parsing with \sectcode{PyArg_ParseTupleAndKeywords()}}
833833
\end{verbatim}
834834

835835

836-
\section{The \sectcode{Py_BuildValue()} Function}
836+
\section{The \cfunction{Py_BuildValue()} Function}
837837
\label{buildValue}
838838

839839
This function is the counterpart to \cfunction{PyArg_ParseTuple()}. It is

Doc/tut.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ \section{\keyword{for} Statements}
923923
['defenestrate', 'cat', 'window', 'defenestrate']
924924
\end{verbatim}
925925

926-
\section{The \sectcode{range()} Function}
926+
\section{The \function{range()} Function}
927927
\label{range}
928928

929929
If you do need to iterate over a sequence of numbers, the built-in
@@ -1470,7 +1470,7 @@ \subsection{Functional Programming Tools}
14701470
0
14711471
\end{verbatim}
14721472

1473-
\section{The \sectcode{del} statement}
1473+
\section{The \keyword{del} statement}
14741474
\label{del}
14751475

14761476
There is a way to remove an item from a list given its index instead
@@ -1935,7 +1935,7 @@ \section{Standard Modules}
19351935
>>> sys.path.append('/ufs/guido/lib/python')
19361936
\end{verbatim}
19371937

1938-
\section{The \sectcode{dir()} Function}
1938+
\section{The \function{dir()} Function}
19391939
\label{dir}
19401940

19411941
The built-in function \function{dir()} is used to find out which names

Doc/tut/tut.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ \section{\keyword{for} Statements}
923923
['defenestrate', 'cat', 'window', 'defenestrate']
924924
\end{verbatim}
925925

926-
\section{The \sectcode{range()} Function}
926+
\section{The \function{range()} Function}
927927
\label{range}
928928

929929
If you do need to iterate over a sequence of numbers, the built-in
@@ -1470,7 +1470,7 @@ \subsection{Functional Programming Tools}
14701470
0
14711471
\end{verbatim}
14721472

1473-
\section{The \sectcode{del} statement}
1473+
\section{The \keyword{del} statement}
14741474
\label{del}
14751475

14761476
There is a way to remove an item from a list given its index instead
@@ -1935,7 +1935,7 @@ \section{Standard Modules}
19351935
>>> sys.path.append('/ufs/guido/lib/python')
19361936
\end{verbatim}
19371937

1938-
\section{The \sectcode{dir()} Function}
1938+
\section{The \function{dir()} Function}
19391939
\label{dir}
19401940

19411941
The built-in function \function{dir()} is used to find out which names

0 commit comments

Comments
 (0)