cpython: ad4a8176a71a (original) (raw)

Mercurial > cpython

changeset 94622:ad4a8176a71a 3.4

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:00 +0200
parents 8d32453dd0f7
children 55f5e960cc40 7072bbe16a06
files Modules/binascii.c
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, "