[Python-checkins] python/nondist/sandbox/csv _csv.c,1.6,1.7
davecole@users.sourceforge.net
davecole@users.sourceforge.net
2003年2月02日 03:06:04 -0800
Update of /cvsroot/python/python/nondist/sandbox/csv
In directory sc8-pr-cvs1:/tmp/cvs-serv350
Modified Files:
_csv.c
Log Message:
Spelling errors in exception text.
Index: _csv.c
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/csv/_csv.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** _csv.c 2 Feb 2003 11:01:46 -0000 1.6
--- _csv.c 2 Feb 2003 11:06:01 -0000 1.7
***************
*** 319,323 ****
}
self->had_parse_error = 1;
! return raise_exception("Newline inside string");
}
if (c == '\n') {
--- 319,323 ----
}
self->had_parse_error = 1;
! return raise_exception("newline inside string");
}
if (c == '\n') {
***************
*** 327,331 ****
break;
self->had_parse_error = 1;
! return raise_exception("Newline inside string");
}
parse_process_char(self, c);
--- 327,331 ----
break;
self->had_parse_error = 1;
! return raise_exception("newline inside string");
}
parse_process_char(self, c);
***************
*** 450,454 ****
}
else {
! raise_exception("delimter must be quoted or escaped");
return -1;
}
--- 450,454 ----
}
else {
! raise_exception("delimiter must be quoted or escaped");
return -1;
}