Skip to content

Commit a697faf

Browse files
gh-89024: Document the 3.10 change in escaping the csv escapechar (GH-155067)
Add a versionchanged note for the escapechar itself being escaped.
1 parent 3cc891f commit a697faf

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

495+
.. versionchanged:: 3.10
496+
Previously the *escapechar* itself was not escaped,
497+
which lost it on reading.
498+
495499
.. versionchanged:: 3.11
496500
An empty *escapechar* is not allowed.
497501

0 commit comments

Comments
 (0)