PEP 540: fix two typos

This commit is contained in:
Victor Stinner 2017-12-05 16:41:21 +01:00
parent 75eac2d3bf
commit f92b5fbdc2
1 changed files with 2 additions and 2 deletions

View File

@ -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
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
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
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).
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
locale.