diff Objects/unicodeobject.c @ 46639:bd91000c8e73

Fixed a small omission in the renaming of "unicode" to "str".
author Alexandre Vassalotti <alexandre@peadrop.com>
date Sat, 03 May 2008 04:42:16 +0000
parents 47d9bbe10897
children ef4ec968fdb6
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Sat May 03 04:39:38 2008 +0000
+++ b/Objects/unicodeobject.c	Sat May 03 04:42:16 2008 +0000
@@ -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)