cpython: 55f5e960cc40 (original) (raw)

Mercurial > cpython

changeset 94623:55f5e960cc40

Issue #13637: Improve exception message of a2b_* functions. Patch by Vajrasky Kok. [#13637]

Berker Peksag berker.peksag@gmail.com
date Sun, 15 Feb 2015 00:31:26 +0200
parents d3ca674cf716(current diff)ad4a8176a71a(diff)
children 7ae156f07a90
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-)[+] [-] Modules/binascii.c 4

line wrap: on

line diff

--- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -228,13 +228,13 @@ ascii_buffer_converter(PyObject *arg, Py if (PyObject_GetBuffer(arg, buf, PyBUF_SIMPLE) != 0) { PyErr_Format(PyExc_TypeError, "argument should be bytes, buffer or ASCII string, "