mirror of https://github.com/python/cpython.git
For sections describing the "Foo Protocol", consistently use the capitalized
"Protocol" and not "protocol".
This commit is contained in:
parent
faa1afe2d7
commit
f44617d298
|
@ -1368,7 +1368,7 @@ on failure. This is the equivalent of the Python expression:
|
|||
\end{cfuncdesc}
|
||||
|
||||
|
||||
\section{Sequence protocol}
|
||||
\section{Sequence Protocol}
|
||||
|
||||
\begin{cfuncdesc}{int}{PySequence_Check}{PyObject *o}
|
||||
Return 1 if the object provides sequence protocol, and 0
|
||||
|
@ -1452,7 +1452,7 @@ return -1. This is equivalent to the Python
|
|||
expression: \code{o.index(value)}.
|
||||
\end{cfuncdesc}
|
||||
|
||||
\section{Mapping protocol}
|
||||
\section{Mapping Protocol}
|
||||
|
||||
\begin{cfuncdesc}{int}{PyMapping_Check}{PyObject *o}
|
||||
Return 1 if the object provides mapping protocol, and 0
|
||||
|
|
|
@ -1368,7 +1368,7 @@ on failure. This is the equivalent of the Python expression:
|
|||
\end{cfuncdesc}
|
||||
|
||||
|
||||
\section{Sequence protocol}
|
||||
\section{Sequence Protocol}
|
||||
|
||||
\begin{cfuncdesc}{int}{PySequence_Check}{PyObject *o}
|
||||
Return 1 if the object provides sequence protocol, and 0
|
||||
|
@ -1452,7 +1452,7 @@ return -1. This is equivalent to the Python
|
|||
expression: \code{o.index(value)}.
|
||||
\end{cfuncdesc}
|
||||
|
||||
\section{Mapping protocol}
|
||||
\section{Mapping Protocol}
|
||||
|
||||
\begin{cfuncdesc}{int}{PyMapping_Check}{PyObject *o}
|
||||
Return 1 if the object provides mapping protocol, and 0
|
||||
|
|
Loading…
Reference in New Issue