Skip to content

Commit 0deaf23

Browse files
gh-89024: Document the 3.10 change in escaping the csv escapechar
Add a versionchanged note for the escapechar itself being escaped.
1 parent 7d76013 commit 0deaf23

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/library/csv.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,10 @@ Dialects support the following attributes:
481481
On reading, the *escapechar* removes any special meaning from
482482
the following character. It defaults to :const:`None`, which disables escaping.
483483

484+
.. versionchanged:: 3.10
485+
Previously the *escapechar* itself was not escaped,
486+
which lost it on reading.
487+
484488
.. versionchanged:: 3.11
485489
An empty *escapechar* is not allowed.
486490

0 commit comments

Comments
 (0)