Fix typo.
This commit is contained in:
parent
9f6d250f9f
commit
dae1bae5ad
|
@ -74,8 +74,8 @@ lone half surrogate codes U+DCxx.
|
||||||
To convert non-decodable bytes, a new error handler "python-escape" is
|
To convert non-decodable bytes, a new error handler "python-escape" is
|
||||||
introduced, which produces these half surrogates. On encoding, the
|
introduced, which produces these half surrogates. On encoding, the
|
||||||
error handler converts the half surrogate back to the corresponding
|
error handler converts the half surrogate back to the corresponding
|
||||||
byte. This error handler used used in any API that receives or produces
|
byte. This error handler will be used in any API that receives or
|
||||||
file names, command line arguments, or environment variables.
|
produces file names, command line arguments, or environment variables.
|
||||||
|
|
||||||
The error handler interface is extended to allow the encode error
|
The error handler interface is extended to allow the encode error
|
||||||
handler to return byte strings immediately, in addition to returning
|
handler to return byte strings immediately, in addition to returning
|
||||||
|
|
Loading…
Reference in New Issue