Kaydet (Commit) f44617d2 authored tarafından Fred Drake's avatar Fred Drake

For sections describing the "Foo Protocol", consistently use the capitalized

"Protocol" and not "protocol".
üst faa1afe2
...@@ -1368,7 +1368,7 @@ on failure. This is the equivalent of the Python expression: ...@@ -1368,7 +1368,7 @@ on failure. This is the equivalent of the Python expression:
\end{cfuncdesc} \end{cfuncdesc}
\section{Sequence protocol} \section{Sequence Protocol}
\begin{cfuncdesc}{int}{PySequence_Check}{PyObject *o} \begin{cfuncdesc}{int}{PySequence_Check}{PyObject *o}
Return 1 if the object provides sequence protocol, and 0 Return 1 if the object provides sequence protocol, and 0
...@@ -1452,7 +1452,7 @@ return -1. This is equivalent to the Python ...@@ -1452,7 +1452,7 @@ return -1. This is equivalent to the Python
expression: \code{o.index(value)}. expression: \code{o.index(value)}.
\end{cfuncdesc} \end{cfuncdesc}
\section{Mapping protocol} \section{Mapping Protocol}
\begin{cfuncdesc}{int}{PyMapping_Check}{PyObject *o} \begin{cfuncdesc}{int}{PyMapping_Check}{PyObject *o}
Return 1 if the object provides mapping protocol, and 0 Return 1 if the object provides mapping protocol, and 0
......
...@@ -1368,7 +1368,7 @@ on failure. This is the equivalent of the Python expression: ...@@ -1368,7 +1368,7 @@ on failure. This is the equivalent of the Python expression:
\end{cfuncdesc} \end{cfuncdesc}
\section{Sequence protocol} \section{Sequence Protocol}
\begin{cfuncdesc}{int}{PySequence_Check}{PyObject *o} \begin{cfuncdesc}{int}{PySequence_Check}{PyObject *o}
Return 1 if the object provides sequence protocol, and 0 Return 1 if the object provides sequence protocol, and 0
...@@ -1452,7 +1452,7 @@ return -1. This is equivalent to the Python ...@@ -1452,7 +1452,7 @@ return -1. This is equivalent to the Python
expression: \code{o.index(value)}. expression: \code{o.index(value)}.
\end{cfuncdesc} \end{cfuncdesc}
\section{Mapping protocol} \section{Mapping Protocol}
\begin{cfuncdesc}{int}{PyMapping_Check}{PyObject *o} \begin{cfuncdesc}{int}{PyMapping_Check}{PyObject *o}
Return 1 if the object provides mapping protocol, and 0 Return 1 if the object provides mapping protocol, and 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment