]> granicus.if.org Git - python/commitdiff
Fixed a small omission in the renaming of "unicode" to "str".
authorAlexandre Vassalotti <alexandre@peadrop.com>
Sat, 3 May 2008 04:42:16 +0000 (04:42 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Sat, 3 May 2008 04:42:16 +0000 (04:42 +0000)
Objects/unicodeobject.c

index 388734ee2919067907ae00390376666ec4a9ada0..dab4000a69f0b07367e43d146cf52b2169f48b31 100644 (file)
@@ -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)