Author: neal.norwitz
Date: Sun Aug 26 05:55:15 2007
New Revision: 57492
Modified:
python/branches/py3k/Modules/_sre.c
Log:
Use unicode
Modified: python/branches/py3k/Modules/_sre.c
==============================================================================
--- python/branches/py3k/Modules/_sre.c (original)
+++ python/branches/py3k/Modules/_sre.c Sun Aug 26 05:55:15 2007
@@ -1931,7 +1931,7 @@
if (!args)
return NULL;
- name = PyString_FromString(module);
+ name = PyUnicode_FromString(module);
if (!name)
return NULL;
mod = PyImport_Import(name);
@@ -3409,7 +3409,7 @@
Py_DECREF(x);
}
- x = PyString_FromString(copyright);
+ x = PyUnicode_FromString(copyright);
if (x) {
PyDict_SetItemString(d, "copyright", x);
Py_DECREF(x);
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins