Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 999679a

Browse files
committed
Fixed a small omission in the renaming of "unicode" to "str".
1 parent 5209857 commit 999679a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/unicodeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9062,7 +9062,7 @@ unicode_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
90629062

90639063
if (type != &PyUnicode_Type)
90649064
return unicode_subtype_new(type, args, kwds);
9065-
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|Oss:unicode",
9065+
if (!PyArg_ParseTupleAndKeywords(args, kwds, "|Oss:str",
90669066
kwlist, &x, &encoding, &errors))
90679067
return NULL;
90689068
if (x == NULL)

0 commit comments

Comments
 (0)