Revision 1958
Added by Aaron Marcuse-Kubitza over 12 years ago
csvs.py | ||
---|---|---|
72 | 72 |
'''Automatically detects the dialect based on the header line |
73 | 73 |
@return tuple (reader, header)''' |
74 | 74 |
info = stream_info(stream, parse_header=True) |
75 |
return (reader_class(info.dialect)(stream, info.dialect), info.header)
|
|
75 |
return (make_reader(stream, info.dialect), info.header)
|
|
76 | 76 |
|
77 | 77 |
##### csv modifications |
78 | 78 |
|
Also available in: Unified diff
csvs.py: reader_and_header(): Use make_reader()