diff options
Diffstat (limited to 'Doc/library/csv.rst')
-rw-r--r-- | Doc/library/csv.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 3a7817c..9dec724 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -542,7 +542,7 @@ The corresponding simplest possible writing example is:: Since :func:`open` is used to open a CSV file for reading, the file will by default be decoded into unicode using the system default -encoding (see :func:`locale.getpreferredencoding`). To decode a file +encoding (see :func:`locale.getencoding`). To decode a file using a different encoding, use the ``encoding`` argument of open:: import csv |