From: Alexandre Vassalotti Date: Sat, 3 May 2008 04:42:16 +0000 (+0000) Subject: Fixed a small omission in the renaming of "unicode" to "str". X-Git-Tag: v3.0a5~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=999679a23ec5731d32dbdbf04b61d4ebb4bcd476;p=python Fixed a small omission in the renaming of "unicode" to "str". --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 388734ee29..dab4000a69 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -9062,7 +9062,7 @@ unicode_new(PyTypeObject *type, PyObject *args, PyObject *kwds) if (type != &PyUnicode_Type) return unicode_subtype_new(type, args, kwds); - if (!PyArg_ParseTupleAndKeywords(args, kwds, "|Oss:unicode", + if (!PyArg_ParseTupleAndKeywords(args, kwds, "|Oss:str", kwlist, &x, &encoding, &errors)) return NULL; if (x == NULL)