summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-07-27 20:22:34 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-07-27 20:22:34 (GMT)
commit0f41acb0eab3314aa9235632de9f0c705a51a6f1 (patch)
tree7e6421314de3461b4dae03243d7ede7c80c5ad8e /Modules
parent0efea322a9733c5184eaacea4e3a6484609de587 (diff)
downloadcpython-0f41acb0eab3314aa9235632de9f0c705a51a6f1.zip
cpython-0f41acb0eab3314aa9235632de9f0c705a51a6f1.tar.gz
cpython-0f41acb0eab3314aa9235632de9f0c705a51a6f1.tar.bz2
Issue #22076: Minor grammar fix.
Patch by Martin Matusiak.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_csv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_csv.c b/Modules/_csv.c
index c8767d1..6eaaea2 100644
--- a/Modules/_csv.c
+++ b/Modules/_csv.c
@@ -248,7 +248,7 @@ _set_char(const char *name, Py_UCS4 *target, PyObject *src, Py_UCS4 dflt)
len = PyUnicode_GetLength(src);
if (len > 1) {
PyErr_Format(PyExc_TypeError,
- "\"%s\" must be an 1-character string",
+ "\"%s\" must be a 1-character string",
name);
return -1;
}
@@ -432,7 +432,7 @@ dialect_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
goto err;
if (self->delimiter == 0) {
PyErr_SetString(PyExc_TypeError,
- "\"delimiter\" must be an 1-character string");
+ "\"delimiter\" must be a 1-character string");
goto err;
}
if (quotechar == Py_None && quoting == NULL)