Skip to content

Commit 45a42fe

Browse files
serhiy-storchakamiss-islington
authored andcommitted
gh-89024: Document the 3.10 change in escaping the csv escapechar (GH-155067)
Add a versionchanged note for the escapechar itself being escaped. (cherry picked from commit a697faf) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
1 parent cf5be6c commit 45a42fe

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
@@ -466,6 +466,10 @@ Dialects support the following attributes:
466466
On reading, the *escapechar* removes any special meaning from
467467
the following character. It defaults to :const:`None`, which disables escaping.
468468

469+
.. versionchanged:: 3.10
470+
Previously the *escapechar* itself was not escaped,
471+
which lost it on reading.
472+
469473
.. versionchanged:: 3.11
470474
An empty *escapechar* is not allowed.
471475

0 commit comments

Comments
 (0)