From d469ff1e6a2b42b7be9407f5b84509e05371b0ec Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Sun, 4 Nov 2007 15:56:52 +0000 Subject: [PATCH] Note change to get_dialect semantics in 2.5. Will backport to 2.5. --- Doc/library/csv.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 98fc6c906fa..1be909bbead 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -127,6 +127,11 @@ The :mod:`csv` module defines the following functions: Return the dialect associated with *name*. An :exc:`Error` is raised if *name* is not a registered dialect name. + .. versionchanged:: 2.5 + + This function now returns an immutable :class:`Dialect`. Previously an + instance of the requested dialect was returned. Users could modify the + underlying class, changing the behavior of active readers and writers. .. function:: list_dialects()