diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-23 21:42:55 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-23 21:42:55 (GMT) |
commit | 53cbdaa84c9e3c5f8b7ff2446452ff4d6f536219 (patch) | |
tree | 40d00a2f819472aa21bd32b505a53c394019db82 /Modules/_curses_panel.c | |
parent | d6d2f2f93919d035929ac9d02244657a9b604413 (diff) | |
download | cpython-53cbdaa84c9e3c5f8b7ff2446452ff4d6f536219.zip cpython-53cbdaa84c9e3c5f8b7ff2446452ff4d6f536219.tar.gz cpython-53cbdaa84c9e3c5f8b7ff2446452ff4d6f536219.tar.bz2 |
Convert a bunch of constant strings in C to unicode.
Diffstat (limited to 'Modules/_curses_panel.c')
-rw-r--r-- | Modules/_curses_panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_curses_panel.c b/Modules/_curses_panel.c index 5eb4cf8..e73d986 100644 --- a/Modules/_curses_panel.c +++ b/Modules/_curses_panel.c @@ -472,7 +472,7 @@ init_curses_panel(void) PyDict_SetItemString(d, "error", PyCursesError); /* Make the version available */ - v = PyString_FromString(PyCursesVersion); + v = PyUnicode_FromString(PyCursesVersion); PyDict_SetItemString(d, "version", v); PyDict_SetItemString(d, "__version__", v); Py_DECREF(v); |