Fixed a small omission in the renaming of "unicode" to "str".

This commit is contained in:
Alexandre Vassalotti 2008-05-03 04:42:16 +00:00
parent 5209857f8e
commit 999679a23e
1 changed files with 1 additions and 1 deletions

View 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)