commit | fe53713506b93692d0fe7c8b65efd0dc600854e1 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 26 03:55:15 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sun Aug 26 03:55:15 2007 +0000 |
tree | 0b371a1595e81cc90ef2af004f599595f6c82436 | |
parent | 9406f5cadbaf4df5f7e4ec767959c7f01a41fec6 [diff] [blame] |
Use unicode
diff --git a/Modules/_sre.c b/Modules/_sre.c index 295bc93..20f98ca 100644 --- a/Modules/_sre.c +++ b/Modules/_sre.c
@@ -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);