[Python-3000-checkins] r58790 - python/branches/py3k-pep3137/Objects/moduleobject.c

guido.van.rossum python-3000-checkins at python.org
Fri Nov 2 20:46:54 CET 2007


Author: guido.van.rossum
Date: Fri Nov  2 20:46:54 2007
New Revision: 58790

Modified:
   python/branches/py3k-pep3137/Objects/moduleobject.c
Log:
Fix another arg parse S -> U format.


Modified: python/branches/py3k-pep3137/Objects/moduleobject.c
==============================================================================
--- python/branches/py3k-pep3137/Objects/moduleobject.c	(original)
+++ python/branches/py3k-pep3137/Objects/moduleobject.c	Fri Nov  2 20:46:54 2007
@@ -151,7 +151,7 @@
 {
 	static char *kwlist[] = {"name", "doc", NULL};
 	PyObject *dict, *name = Py_None, *doc = Py_None;
-	if (!PyArg_ParseTupleAndKeywords(args, kwds, "S|O:module.__init__",
+	if (!PyArg_ParseTupleAndKeywords(args, kwds, "U|O:module.__init__",
                                          kwlist, &name, &doc))
 		return -1;
 	dict = m->md_dict;


More information about the Python-3000-checkins mailing list