commit | 952867aa306dda2a710df4c286b5d9f0593e3d34 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Jun 27 10:17:12 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Jun 27 10:17:12 2010 +0000 |
tree | f2524258ffd913fd36201c66050b2af37cdcf3b5 | |
parent | 620c6c760dd8e596b0c630fed736f2a958b09d4a [diff] |
#9078: fix some Unicode C API descriptions, in comments and docs.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 4328f93..b25bcec 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -1273,7 +1273,7 @@ case of a TypeError. */ if (PyErr_ExceptionMatches(PyExc_TypeError)) PyErr_Format(PyExc_TypeError, - "coercing to str: need string or buffer, " + "coercing to str: need bytes, bytearray or char buffer, " "%.80s found", Py_TYPE(obj)->tp_name); goto onError;