https://github.com/python/cpython/commit/d1a724027a3aac52e420c70ece0548dbba5cd6c3 commit: d1a724027a3aac52e420c70ece0548dbba5cd6c3 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2026-08-25T14:25:55+09:00 summary:
[3.15] gh-105116: Document that an escaped csv quotechar does not cause quoting (GH-155073) (#155682) gh-105116: Document that an escaped csv quotechar does not cause quoting (GH-155073) (cherry picked from commit 3cc891f7ae71ab1fed3e00ec83baadc42db1eb1e) Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]> files: M Doc/library/csv.rst diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 8b8c12d1a00f2e..e556472597d6d0 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -369,6 +369,8 @@ The :mod:`!csv` module defines the following constants: Instructs :class:`writer` objects to only quote those fields which contain special characters such as *delimiter*, *quotechar*, ``'\r'``, ``'\n'`` or any of the characters in *lineterminator*. + If *doublequote* is :const:`False` and *escapechar* is set, + the *quotechar* is escaped instead of causing the field to be quoted. .. data:: QUOTE_NONNUMERIC _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
