PEP 540: fix two typos
This commit is contained in:
parent
75eac2d3bf
commit
f92b5fbdc2
|
@ -88,7 +88,7 @@ arising in production services due to mismatched assumptions regarding
|
||||||
text encodings. It's one thing to emit mojibake to a user's terminal
|
text encodings. It's one thing to emit mojibake to a user's terminal
|
||||||
while listing a directory, but something else entirely to store that in
|
while listing a directory, but something else entirely to store that in
|
||||||
a system manifest in a database, or to send it to a remote client
|
a system manifest in a database, or to send it to a remote client
|
||||||
attempting to retreive files from the system.
|
attempting to retrieve files from the system.
|
||||||
|
|
||||||
Since different group of users have different expectations, there is no
|
Since different group of users have different expectations, there is no
|
||||||
silver bullet which solves all issues at once. Last but not least,
|
silver bullet which solves all issues at once. Last but not least,
|
||||||
|
@ -303,7 +303,7 @@ instead using the locale encoding (with ``strict`` or
|
||||||
``surrogateescape`` error handler depending on the case).
|
``surrogateescape`` error handler depending on the case).
|
||||||
|
|
||||||
The "normal" UTF-8 mode uses ``surrogateescape`` on the standard input
|
The "normal" UTF-8 mode uses ``surrogateescape`` on the standard input
|
||||||
and output streams and openeded files, as well as on all operating
|
and output streams and opened files, as well as on all operating
|
||||||
system interfaces. This is the mode implicitly activated by the POSIX
|
system interfaces. This is the mode implicitly activated by the POSIX
|
||||||
locale.
|
locale.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue