diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-08-09 23:39:11 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-08-09 23:39:11 (GMT) |
commit | 9fc5631be6bb192db6cd5bd9b4305ab801ca3092 (patch) | |
tree | 734ac14227409d1f5899190f54a5f83c64f6bac9 /Lib/csv.py | |
parent | 46265860c26059e05f5aa002f6e298c88bc35928 (diff) | |
download | cpython-9fc5631be6bb192db6cd5bd9b4305ab801ca3092.zip cpython-9fc5631be6bb192db6cd5bd9b4305ab801ca3092.tar.gz cpython-9fc5631be6bb192db6cd5bd9b4305ab801ca3092.tar.bz2 |
Silence warnings in csv about using reduce() when run under -3 by using
functools.reduce() instead.
Diffstat (limited to 'Lib/csv.py')
-rw-r--r-- | Lib/csv.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,6 +4,7 @@ csv.py - read/write/investigate CSV files """ import re +from functools import reduce from _csv import Error, __version__, writer, reader, register_dialect, \ unregister_dialect, get_dialect, list_dialects, \ field_size_limit, \ |