diff options
author | Georg Brandl <georg@python.org> | 2010-06-27 10:17:12 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-06-27 10:17:12 (GMT) |
commit | 952867aa306dda2a710df4c286b5d9f0593e3d34 (patch) | |
tree | f2524258ffd913fd36201c66050b2af37cdcf3b5 /Objects | |
parent | 620c6c760dd8e596b0c630fed736f2a958b09d4a (diff) | |
download | cpython-952867aa306dda2a710df4c286b5d9f0593e3d34.zip cpython-952867aa306dda2a710df4c286b5d9f0593e3d34.tar.gz cpython-952867aa306dda2a710df4c286b5d9f0593e3d34.tar.bz2 |
#9078: fix some Unicode C API descriptions, in comments and docs.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ PyObject *PyUnicode_FromEncodedObject(register PyObject *obj, 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; |