mirror of
https://github.com/python/cpython.git
synced 2025-10-19 05:08:28 +00:00
Correct the grammar
This commit is contained in:
parent
db8955bc54
commit
cd84b92f08
1 changed files with 3 additions and 3 deletions
|
@ -161,7 +161,7 @@ directly.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{lookup_error}{name}
|
\begin{funcdesc}{lookup_error}{name}
|
||||||
Return the error handler previously register under the name \var{name}.
|
Return the error handler previously registered under the name \var{name}.
|
||||||
|
|
||||||
Raises a \exception{LookupError} in case the handler cannot be found.
|
Raises a \exception{LookupError} in case the handler cannot be found.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
@ -366,7 +366,7 @@ steps. It defines the following methods which every incremental encoder must
|
||||||
define in order to be compatible with the Python codec registry.
|
define in order to be compatible with the Python codec registry.
|
||||||
|
|
||||||
\begin{classdesc}{IncrementalEncoder}{\optional{errors}}
|
\begin{classdesc}{IncrementalEncoder}{\optional{errors}}
|
||||||
Constructor for a \class{IncrementalEncoder} instance.
|
Constructor for an \class{IncrementalEncoder} instance.
|
||||||
|
|
||||||
All incremental encoders must provide this constructor interface. They are
|
All incremental encoders must provide this constructor interface. They are
|
||||||
free to add additional keyword arguments, but only the ones defined
|
free to add additional keyword arguments, but only the ones defined
|
||||||
|
@ -413,7 +413,7 @@ steps. It defines the following methods which every incremental decoder must
|
||||||
define in order to be compatible with the Python codec registry.
|
define in order to be compatible with the Python codec registry.
|
||||||
|
|
||||||
\begin{classdesc}{IncrementalDecoder}{\optional{errors}}
|
\begin{classdesc}{IncrementalDecoder}{\optional{errors}}
|
||||||
Constructor for a \class{IncrementalDecoder} instance.
|
Constructor for an \class{IncrementalDecoder} instance.
|
||||||
|
|
||||||
All incremental decoders must provide this constructor interface. They are
|
All incremental decoders must provide this constructor interface. They are
|
||||||
free to add additional keyword arguments, but only the ones defined
|
free to add additional keyword arguments, but only the ones defined
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue