https://github.com/python/cpython/commit/5a29b9905908b2bdfac0d206d3651a281181c86f commit: 5a29b9905908b2bdfac0d206d3651a281181c86f branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka <[email protected]> date: 2026-08-13T10:11:52Z summary:
[3.14] gh-105116: Document that an escaped csv quotechar does not cause quoting (GH-155073) (GH-155683) (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 159530937c20ca..a21665f5fde741 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -371,6 +371,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]
