diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-04-04 01:38:38 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-04-04 01:38:38 (GMT) |
commit | 8b7d4aa74678ec1ba583fdccd086b78ad7ee71ae (patch) | |
tree | e7e5d7b8802f52782d4cce3ae8cc236869267689 /Lib | |
parent | 3c33b833dd8f60643cb5d2985c143d3e1e98697e (diff) | |
download | cpython-8b7d4aa74678ec1ba583fdccd086b78ad7ee71ae.zip cpython-8b7d4aa74678ec1ba583fdccd086b78ad7ee71ae.tar.gz cpython-8b7d4aa74678ec1ba583fdccd086b78ad7ee71ae.tar.bz2 |
Update documentation for csv module to reflect changes in code,
specifically that it now expects unicode input (and therefore the
paragraph about it not handling unicode is deleted, as well as
the 'how to handle unicode' examples) and that files should
be opened with "newline=''" instead of binary mode. Also removed
unused BytesIO import from test_csv.
This addresses issue 4847.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_csv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_csv.py b/Lib/test/test_csv.py index c24c55f..7eb3a7f 100644 --- a/Lib/test/test_csv.py +++ b/Lib/test/test_csv.py @@ -6,7 +6,7 @@ import io import sys import os import unittest -from io import StringIO, BytesIO +from io import StringIO from tempfile import TemporaryFile import csv import gc |