commit | 999679a23ec5731d32dbdbf04b61d4ebb4bcd476 | [log] [tgz] |
---|---|---|
author | Alexandre Vassalotti <alexandre@peadrop.com> | Sat May 03 04:42:16 2008 +0000 |
committer | Alexandre Vassalotti <alexandre@peadrop.com> | Sat May 03 04:42:16 2008 +0000 |
tree | 64c481482b6fbb400989b6c4f4f5f56445b0f6b0 | |
parent | 5209857f8ef14876e03a3d7445bdad9b8de51faf [diff] |
Fixed a small omission in the renaming of "unicode" to "str".
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 @@ 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)