mirror of
https://github.com/python/cpython.git
synced 2025-09-11 03:07:01 +00:00
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
This commit is contained in:
parent
387235085c
commit
dba903993a
63 changed files with 445 additions and 409 deletions
|
@ -687,7 +687,7 @@ with the ``surrogateescape`` error handler::
|
|||
# make changes to the string 'data'
|
||||
|
||||
with open(fname + '.new', 'w',
|
||||
encoding="ascii", errors="surrogateescape") as f:
|
||||
encoding="ascii", errors="surrogateescape") as f:
|
||||
f.write(data)
|
||||
|
||||
The ``surrogateescape`` error handler will decode any non-ASCII bytes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue