mirror of https://github.com/python/cpython
Fixed a small omission in the renaming of "unicode" to "str".
This commit is contained in:
parent
5209857f8e
commit
999679a23e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue