On Sun, Oct 16, 2016 at 4:42 PM, benjamin.peterson <python-check...@python.org> wrote: > --- a/Objects/unicodeobject.c > +++ b/Objects/unicodeobject.c > @@ -3009,7 +3009,7 @@ > "'%.400s' decoder returned '%.400s' instead of 'str'; " > "use codecs.decode() to decode to arbitrary types", > encoding, > - Py_TYPE(unicode)->tp_name, Py_TYPE(unicode)->tp_name); > + Py_TYPE(unicode)->tp_name); > Py_DECREF(unicode); > goto onError; > }
Um, isn't that now an error? There are 2 format sequences, but only 1 argument. -- Jeremy Kloth _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com