diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-23 21:42:55 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-23 21:42:55 +0000 |
commit | 7c4d2e0ec5cc7c921b937cfe7fa234dbae2dc8e8 (patch) | |
tree | c8bfebae86ac68955de97da13d4a88f63aabbf4d /Modules/bz2module.c | |
parent | 2b6ac5e36f6d014a23f6f19972e82f9b599ce19a (diff) | |
download | cpython-7c4d2e0ec5cc7c921b937cfe7fa234dbae2dc8e8.tar.gz |
Convert a bunch of constant strings in C to unicode.
Diffstat (limited to 'Modules/bz2module.c')
-rw-r--r-- | Modules/bz2module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/bz2module.c b/Modules/bz2module.c index c913c3fece..65e3ae753e 100644 --- a/Modules/bz2module.c +++ b/Modules/bz2module.c @@ -2048,7 +2048,7 @@ initbz2(void) if (m == NULL) return; - PyModule_AddObject(m, "__author__", PyString_FromString(__author__)); + PyModule_AddObject(m, "__author__", PyUnicode_FromString(__author__)); Py_INCREF(&BZ2File_Type); PyModule_AddObject(m, "BZ2File", (PyObject *)&BZ2File_Type); |