projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9406f5c
)
Use unicode
author
Neal Norwitz
<nnorwitz@gmail.com>
Sun, 26 Aug 2007 03:55:15 +0000
(
03:55
+0000)
committer
Neal Norwitz
<nnorwitz@gmail.com>
Sun, 26 Aug 2007 03:55:15 +0000
(
03:55
+0000)
Modules/_sre.c
patch
|
blob
|
history
diff --git
a/Modules/_sre.c
b/Modules/_sre.c
index 295bc93730ac56b91f2db813354f10de209ac3a7..20f98ca4591b20f6b8296134354e32a071924e06 100644
(file)
--- a/
Modules/_sre.c
+++ b/
Modules/_sre.c
@@
-1931,7
+1931,7
@@
call(char* module, char* function, PyObject* args)
if (!args)
return NULL;
- name = Py
String
_FromString(module);
+ name = Py
Unicode
_FromString(module);
if (!name)
return NULL;
mod = PyImport_Import(name);
@@
-3409,7
+3409,7
@@
PyMODINIT_FUNC init_sre(void)
Py_DECREF(x);
}
- x = Py
String
_FromString(copyright);
+ x = Py
Unicode
_FromString(copyright);
if (x) {
PyDict_SetItemString(d, "copyright", x);
Py_DECREF(x);