From 999679a23ec5731d32dbdbf04b61d4ebb4bcd476 Mon Sep 17 00:00:00 2001 From: Alexandre Vassalotti Date: Sat, 3 May 2008 04:42:16 +0000 Subject: [PATCH] Fixed a small omission in the renaming of "unicode" to "str". --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 388734ee291..dab4000a69f 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)