[Python-3000-checkins] r62658 - python/branches/py3k/Objects/unicodeobject.c

alexandre.vassalotti python-3000-checkins at python.org
Sat May 3 06:42:17 CEST 2008


Author: alexandre.vassalotti
Date: Sat May  3 06:42:16 2008
New Revision: 62658

Log:
Fixed a small omission in the renaming of "unicode" to "str".


Modified:
   python/branches/py3k/Objects/unicodeobject.c

Modified: python/branches/py3k/Objects/unicodeobject.c
==============================================================================
--- python/branches/py3k/Objects/unicodeobject.c	(original)
+++ python/branches/py3k/Objects/unicodeobject.c	Sat May  3 06:42:16 2008
@@ -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)


More information about the Python-3000-checkins mailing list