diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-03 04:42:16 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-03 04:42:16 (GMT) |
commit | 999679a23ec5731d32dbdbf04b61d4ebb4bcd476 (patch) | |
tree | 64c481482b6fbb400989b6c4f4f5f56445b0f6b0 /Objects | |
parent | 5209857f8ef14876e03a3d7445bdad9b8de51faf (diff) | |
download | cpython-999679a23ec5731d32dbdbf04b61d4ebb4bcd476.zip cpython-999679a23ec5731d32dbdbf04b61d4ebb4bcd476.tar.gz cpython-999679a23ec5731d32dbdbf04b61d4ebb4bcd476.tar.bz2 |
Fixed a small omission in the renaming of "unicode" to "str".
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 388734e..dab4000 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) |